Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Update output file option in BwaMem task args #394

Merged
merged 1 commit into from
Jul 6, 2021

Conversation

mjhipp
Copy link
Contributor

@mjhipp mjhipp commented Jul 6, 2021

I was not able to successfully use the optional output file arg in the BwaMem task. All the alignments were printed to stOut and my script looked like this:

#/bin/bash
set -o pipefail
set -e
# Your command has been wrapped to facilitate piping to a log file
run () {
  bwa mem hs38DH.fa sample1.unmapped.fq '> sample1.aligned.sam'
}
run &> logs/BwaMem.sample1.76.1.log;

Notice the single quotes around the output file args. There is an easy workaround which is to just use the > operator on the task rather than the input file option.

@nh13 nh13 merged commit 90d09b0 into fulcrumgenomics:master Jul 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants