mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Have Bowtie2 wrapper produce BAM rather than SAM output.
This commit is contained in:
@@ -65,7 +65,7 @@ def __main__():
|
||||
index_path = options.index_path
|
||||
|
||||
# Build bowtie command.
|
||||
cmd = 'bowtie2 %s -x %s %s -S %s'
|
||||
cmd = 'bowtie2 %s -x %s %s | samtools view -Sb - > %s'
|
||||
|
||||
# Set up reads.
|
||||
if options.single_paired == 'paired':
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
</inputs>
|
||||
|
||||
<outputs>
|
||||
<data format="sam" name="output" label="${tool.name} on ${on_string}: mapped reads">
|
||||
<data format="bam" name="output" label="${tool.name} on ${on_string}: mapped reads">
|
||||
<actions>
|
||||
<conditional name="refGenomeSource.genomeSource">
|
||||
<when value="indexed">
|
||||
|
||||
Reference in New Issue
Block a user