# HG changeset patch # User iuc # Date 1643922805 0 # Node ID 6d44c9f1a42b4200ec447097571fdd1441613745 # Parent 8157a81f511c4881e9eeb7a6b03e3b6c8d8e7051 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 1800b13dcea155e96558f6b80989cf719071e300" diff -r 8157a81f511c -r 6d44c9f1a42b bbmap.xml --- a/bbmap.xml Tue Feb 01 23:01:08 2022 +0000 +++ b/bbmap.xml Thu Feb 03 21:13:25 2022 +0000 @@ -1,4 +1,4 @@ - + short-read aligner macros.xml @@ -44,59 +44,274 @@ ln -s '${read2}' '${read2_file}' && #end if -bbmap.sh t=\${GALAXY_SLOTS:-4} ref='${ref}' +bbmap.sh + +#### Indexing Parameters +nodisk=f +ref='${ref}' +k=13 +usemodulo=f +rebuild=f + +#### Input Parameters #if str($input_type_cond.input_type) == 'single': in='${read1_file}' #else: - in1='${read1_file}' in2='${read2_file}' + in='${read1_file}' in2='${read2_file}' #end if -#if str($output_sort) == 'coordinate': - out='mapped.bam'; samtools sort -@\${GALAXY_SLOTS:-4} -T "\${TMPDIR:-.}" -O bam -o '$output' 'mapped.bam' -#elif str($output_sort) == 'name': - out='mapped.bam'; samtools sort -n -@\${GALAXY_SLOTS:-4} -T '\${TMPDIR:-.}' -O bam -o '$output' 'mapped.bam' +fastareadlen=500 +unpigz=f +touppercase=t + +#### Sampling Parameters +reads=-1 +samplerate=1 +skipreads=0 + +#### Mapping Parameters +maxindel=$mapping_options.maxindel +strictmaxindel='$mapping_options.strictmaxindel' +tipsearch=$mapping_options.tipsearch +minid=$mapping_options.minid +minhits=$mapping_options.minhits +local='$mapping_options.local' +perfectmode='$mapping_options.perfectmode' +semiperfectmode='$mapping_options.semiperfectmode' +threads=\${GALAXY_SLOTS:-4} +ambiguous='$mapping_options.ambiguous' +samestrandpairs='$mapping_options.samestrandpairs' +requirecorrectstrand='$mapping_options.requirecorrectstrand' +killbadpairs='$mapping_options.killbadpairs' +pairedonly='$mapping_options.pairedonly' +rcomp='$mapping_options.rcomp' +rcompmate='$mapping_options.rcompmate' +pairlen=$mapping_options.pairlen +rescuedist=$mapping_options.rescuedist +rescuemismatches=$mapping_options.rescuemismatches +averagepairdist=$mapping_options.averagepairdist +deterministic='$mapping_options.deterministic' +bandwidthratio='$mapping_options.bandwidthratio' +bandwidth='$mapping_options.bandwidth' +usejni='f' +maxsites2=$mapping_options.maxsites2 +ignorefrequentkmers='$mapping_options.ignorefrequentkmers' +excludefraction=$mapping_options.excludefraction +greedy='$mapping_options.greedy' +kfilter=$mapping_options.kfilter + +#### Quality and Trimming Parameters +qin='auto' +qout='auto' +qtrim='$qt_options.qtrim' +untrim='$qt_options.untrim' +trimq=$qt_options.trimq +mintrimlength=$qt_options.mintrimlength +fakefastaquality=$qt_options.fakefastaquality +ignorebadquality='$qt_options.ignorebadquality' +usequality='$qt_options.usequality' +minaveragequality=$qt_options.minaveragequality +maqb=$qt_options.maqb + +#### Post-Filtering options +idfilter=$pf_options.idfilter +subfilter=$pf_options.subfilter +insfilter=$pf_options.insfilter +delfilter=$pf_options.delfilter +indelfilter=$pf_options.indelfilter +editfilter=$pf_options.editfilter +inslenfilter=$pf_options.inslenfilter +dellenfilter=$pf_options.dellenfilter +nfilter=$pf_options.nfilter + +#### Output parameters +secondary='$output_options.secondary' +maxsites=$output_options.maxsites +sssr=$output_options.sssr +ssao='$output_options.ssao' +quickmatch='$output_options.quickmatch' +trimreaddescriptions='$output_options.trimreaddescriptions' +machineout='$output_options.machineout' +printunmappedcount='$output_options.printunmappedcount' +renamebyinsert='$output_options.renamebyinsert' +#if str($output_options.output_sort) == 'coordinate': + out='all_reads.bam' + outu='unmapped_reads.bam' + outm='mapped_reads.bam' + && samtools sort -@\${GALAXY_SLOTS:-4} -T "\${TMPDIR:-.}" -O bam -o '$output_all_reads' 'all_reads.bam' + && samtools sort -@\${GALAXY_SLOTS:-4} -T "\${TMPDIR:-.}" -O bam -o '$output_unmapped_reads' 'unmapped_reads.bam' + && samtools sort -@\${GALAXY_SLOTS:-4} -T "\${TMPDIR:-.}" -O bam -o '$output_mapped_reads' 'mapped_reads.bam' +#elif str($output_options.output_sort) == 'name': + out='all_reads.bam' + outu='unmapped_reads.bam' + outm='mapped_reads.bam' + && samtools sort -n -@\${GALAXY_SLOTS:-4} -T '\${TMPDIR:-.}' -O bam -o '$output_all_reads' 'all_reads.bam' + && samtools sort -n -@\${GALAXY_SLOTS:-4} -T '\${TMPDIR:-.}' -O bam -o '$output_unmapped_reads' 'unmapped_reads.bam' + && samtools sort -n -@\${GALAXY_SLOTS:-4} -T '\${TMPDIR:-.}' -O bam -o '$output_mapped_reads' 'mapped_reads.bam' #else: - out='mapped.bam' && mv 'mapped.bam' '$output' + out='all_reads.bam' + outu='unmapped_reads.bam' + outm='mapped_reads.bam' + && mv 'all_reads.bam' '$output_all_reads' + && mv 'unmapped_reads.bam' '$output_unmapped_reads' + && mv 'mapped_reads.bam' '$output_mapped_reads' #end if ]]> - - - - - +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + +
+
+ + + + + + + + + +
- + + + + + + + + - - + + + + + + + + + - + - - + + + + + + + + + + + + + + + + + + - + - - + + + + + + + + + + + + + + + + + - + @@ -107,8 +322,23 @@ - - + + + + + + + + + + + + + + + + + diff -r 8157a81f511c -r 6d44c9f1a42b macros.xml --- a/macros.xml Tue Feb 01 23:01:08 2022 +0000 +++ b/macros.xml Thu Feb 03 21:13:25 2022 +0000 @@ -1,10 +1,10 @@ 1.0.0 - 2 + 3 20.09 - bbmap + bbmap diff -r 8157a81f511c -r 6d44c9f1a42b test-data/output1.bam Binary file test-data/output1.bam has changed diff -r 8157a81f511c -r 6d44c9f1a42b test-data/output2.bam Binary file test-data/output2.bam has changed diff -r 8157a81f511c -r 6d44c9f1a42b test-data/output3.bam Binary file test-data/output3.bam has changed