comparison correct_barcodes.xml @ 11:0f8e0dc73d1d draft default tip

"planemo upload for repository https://github.com/galaxyproject/dunovo commit dbd33f95b486dc556c435f1b42736b818a2b9802-dirty"
author nick
date Wed, 16 Feb 2022 22:59:00 +0000
parents 9dc43bf7d1db
children
comparison
equal deleted inserted replaced
10:9dc43bf7d1db 11:0f8e0dc73d1d
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <tool id="correct_barcodes" name="Du Novo: Correct barcodes" version="2.15"> 2 <tool id="correct_barcodes" name="Du Novo: Correct barcodes" version="3.0.2">
3 <description>of duplex sequencing reads</description> 3 <description>of duplex sequencing reads</description>
4 <requirements> 4 <requirements>
5 <requirement type="package" version="1.1.2">bowtie</requirement> 5 <requirement type="package" version="3.0.2">dunovo</requirement>
6 <requirement type="package" version="1.10">networkx</requirement>
7 <requirement type="package" version="2.15">dunovo</requirement>
8 <!-- TODO: require Python 2.7 -->
9 </requirements> 6 </requirements>
10 <version_command>correct.py --version</version_command> 7 <version_command>correct.py --version</version_command>
11 <command detect_errors="exit_code"><![CDATA[ 8 <command detect_errors="exit_code"><![CDATA[
12 baralign.sh -c $advanced.chunkmbs -t \${GALAXY_SLOTS:-1} '$input' refdir correct.sam 9 baralign.sh -c $advanced.chunkmbs -t \${GALAXY_SLOTS:-1} -g
13 && correct.py --galaxy $phone $check_ids --dist $dist --mapq $mapq --pos $pos 10 #if $phone == '--phone-home':
11 -p
12 #end if
13 '$input' refdir correct.sam
14 && correct.py --galaxy $phone $check_ids $allow_no_nm_if_ns --dist $dist --mapq $mapq --pos $pos
14 '$input' refdir/barcodes.fa correct.sam 15 '$input' refdir/barcodes.fa correct.sam
15 > families.corrected.tsv 16 > families.corrected.tsv
16 && sort families.corrected.tsv 17 && sort families.corrected.tsv
17 > '$output' 18 > '$output'
18 ]]> 19 ]]>
19 </command> 20 </command>
20 <inputs> 21 <inputs>
21 <param name="input" type="data" format="tabular" label="Input reads" help="with barcodes, grouped by family"/> 22 <param name="input" type="data" format="tabular" label="Input reads" help="with barcodes, grouped by family"/>
22 <param name="dist" type="integer" value="3" min="1" label="Maximum differences" help="Only use alignments where the barcodes differ by at most these many errors. Note that raising this beyond 3 probably won't have an effect, because of the inherent limit in bowtie's ability to match up distant barcodes."/> 23 <param name="dist" type="integer" value="3" min="1" label="Maximum differences" help="Only use alignments where the barcodes differ by at most these many errors. Note that raising this beyond 3 won't have an effect, because of the inherent limit in bowtie's ability to match up distant barcodes."/>
23 <param name="mapq" type="integer" value="20" min="0" label="Minimum mapping quality" help="Only use alignments whose MAPQ is at least this."/> 24 <param name="mapq" type="integer" value="20" min="0" label="Minimum mapping quality" help="Only use alignments whose MAPQ is at least this."/>
24 <param name="pos" type="integer" value="2" min="0" label="Maximum start offset" help="Ignore alignments where the start positions differ by more than this."/> 25 <param name="pos" type="integer" value="2" min="0" label="Maximum start offset" help="Ignore alignments where the start positions differ by more than this."/>
25 <param name="check_ids" type="boolean" truevalue="" falsevalue="--no-check-ids" checked="True" label="Check read names" help="Make sure reads are properly paired up. The job will fail if there is a pair of reads where their ids aren't identical (minus any ending /1 or /2)."/> 26 <param name="check_ids" type="boolean" truevalue="" falsevalue="--no-check-ids" checked="True" label="Check read names" help="Make sure reads are properly paired up. The job will fail if there is a pair of reads where their ids aren't identical (minus any ending /1 or /2)."/>
26 <param name="phone" type="boolean" truevalue="--phone-home" falsevalue="" checked="False" label="Send usage data" help="Report helpful usage data to the developer, to better understand the use cases and performance of the tool. The only data which will be recorded is the name and version of the tool, the size of the input data, the time and memory taken to process it, and the IP address of the machine running it. Also, if the tool fails, it will report the name of the exception thrown and the line of code it occurred in. The parameters and input/output dataset names are not sent. All the reporting and recording code is available at https://github.com/NickSto/ET"/> 27 <param name="allow_no_nm_if_ns" type="boolean" truevalue="--allow-no-nm-if-ns" falsevalue="" checked="False" label="Allow missing NM tags" help="Allow alignments with missing NM tags if the barcode has at least one N. Try checking this if you get the error &quot;Alignment missing NM tag, but likely due to N's in sequence&quot;."/>
28 <param name="phone" type="boolean" truevalue="--phone-home" falsevalue="" checked="False" label="Send usage data" help="Report helpful usage data to the developer, to better understand the use cases and performance of the tool. The only data which will be recorded is the name and version of the tool, the size of the input data, the time and memory taken to process it, some performance-related parameters, and the IP address of the machine running it. Also, if the tool fails, it will report the name of the exception thrown and the line of code it occurred in. The parameters and input/output dataset names are not sent. All the reporting and recording code is available at https://github.com/NickSto/ET"/>
27 <section name="advanced" title="Advanced Options" expanded="false"> 29 <section name="advanced" title="Advanced Options" expanded="false">
28 <param name="chunkmbs" type="integer" value="512" min="16" label="bowtie --chunkmbs" help="This is the number of megabytes to give each bowtie thread for storing path descriptors. If you see warnings about &quot;Exhausted best-first chunk memory&quot; in stderr, you need to increase this."/> 30 <param name="chunkmbs" type="integer" value="512" min="16" label="bowtie --chunkmbs" help="This is the number of megabytes to give each bowtie thread for storing path descriptors. If you see warnings about &quot;Exhausted best-first chunk memory&quot; in stderr, you need to increase this."/>
29 </section> 31 </section>
30 </inputs> 32 </inputs>
31 <outputs> 33 <outputs>