Mercurial > repos > artbio > artbio_bam_cleaning
comparison artbio_bam_cleaning.xml @ 9:cb94e94e0f4e draft
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/artbio_bam_cleaning commit ed02ebb9addd947f34d9491420bc325e941eb468"
author | artbio |
---|---|
date | Thu, 30 Dec 2021 23:24:04 +0000 |
parents | b12e50bcddd2 |
children | ba3e6a71acb8 |
comparison
equal
deleted
inserted
replaced
8:b12e50bcddd2 | 9:cb94e94e0f4e |
---|---|
1 <tool id="artbio_bam_cleaning" name="ARTbio bam cleaning" version="1.7+galaxy1"> | 1 <tool id="artbio_bam_cleaning" name="ARTbio bam cleaning" version="1.7+galaxy2"> |
2 <description> | 2 <description> |
3 on flags and PCR Duplicates and MD recalibration | 3 on flags and PCR Duplicates and MD recalibration |
4 </description> | 4 </description> |
5 <macros> | 5 <macros> |
6 <import>macro.xml</import> | 6 <import>macro.xml</import> |
24 | samtools calmd -C 50 -b -@ \${GALAXY_SLOTS:-2} - reference.fa | 24 | samtools calmd -C 50 -b -@ \${GALAXY_SLOTS:-2} - reference.fa |
25 #if $specify_outputs == 'just_calMD': | 25 #if $specify_outputs == 'just_calMD': |
26 > $calmd | 26 > $calmd |
27 #else if $specify_outputs == 'calMDandMQ' or $specify_outputs == 'both': | 27 #else if $specify_outputs == 'calMDandMQ' or $specify_outputs == 'both': |
28 | tee $calmd | 28 | tee $calmd |
29 | sambamba view -h -t \${GALAXY_SLOTS:-2} --filter='mapping_quality <= 254' -f 'bam' /dev/stdin > $fullfilter | |
30 #else: | |
29 | sambamba view -h -t \${GALAXY_SLOTS:-2} --filter='mapping_quality <= 254' -f 'bam' /dev/stdin > $fullfilter | 31 | sambamba view -h -t \${GALAXY_SLOTS:-2} --filter='mapping_quality <= 254' -f 'bam' /dev/stdin > $fullfilter |
30 #end if | 32 #end if |
31 ]]></command> | 33 ]]></command> |
32 <inputs> | 34 <inputs> |
33 <expand macro="reference_source_conditional" /> | 35 <expand macro="reference_source_conditional" /> |