Mercurial > repos > nick > dunovo
view correct_barcodes.xml @ 10:9dc43bf7d1db draft
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'230f018da2c0bc4eedc72e0f70eac0df1e85ebdb\n'-dirty
author | nick |
---|---|
date | Fri, 01 Jun 2018 17:55:23 -0400 |
parents | fa563fa9b330 |
children | 0f8e0dc73d1d |
line wrap: on
line source
<?xml version="1.0"?> <tool id="correct_barcodes" name="Du Novo: Correct barcodes" version="2.15"> <description>of duplex sequencing reads</description> <requirements> <requirement type="package" version="1.1.2">bowtie</requirement> <requirement type="package" version="1.10">networkx</requirement> <requirement type="package" version="2.15">dunovo</requirement> <!-- TODO: require Python 2.7 --> </requirements> <version_command>correct.py --version</version_command> <command detect_errors="exit_code"><![CDATA[ baralign.sh -c $advanced.chunkmbs -t \${GALAXY_SLOTS:-1} '$input' refdir correct.sam && correct.py --galaxy $phone $check_ids --dist $dist --mapq $mapq --pos $pos '$input' refdir/barcodes.fa correct.sam > families.corrected.tsv && sort families.corrected.tsv > '$output' ]]> </command> <inputs> <param name="input" type="data" format="tabular" label="Input reads" help="with barcodes, grouped by family"/> <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."/> <param name="mapq" type="integer" value="20" min="0" label="Minimum mapping quality" help="Only use alignments whose MAPQ is at least this."/> <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."/> <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)."/> <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"/> <section name="advanced" title="Advanced Options" expanded="false"> <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 "Exhausted best-first chunk memory" in stderr, you need to increase this."/> </section> </inputs> <outputs> <data name="output" format="tabular"/> </outputs> <help> **What it does** This is for processing duplex sequencing data. This will correct duplex barcodes and create new, larger families. Errors in barcodes normally prevent them from being recognized as the same as the other barcodes in their family. Correcting these errors allows the original, full families to be reconstructed, saving reads which would otherwise be lost. This tool accomplishes this by doing an all vs. all alignment between the barcodes with bowtie. This identifies ones which are identical except a few, small differences. ----- **Input** This expects the output format of the "Make families" tool. ----- **Output** The output format is the same as the input format, ready to be consumed by the "Align families" tool. </help> <citations> <citation type="bibtex">@article{Stoler2016, author = {Stoler, Nicholas and Arbeithuber, Barbara and Guiblet, Wilfried and Makova, Kateryna D and Nekrutenko, Anton}, doi = {10.1186/s13059-016-1039-4}, issn = {1474-760X}, journal = {Genome biology}, number = {1}, pages = {180}, pmid = {27566673}, publisher = {Genome Biology}, title = {{Streamlined analysis of duplex sequencing data with Du Novo.}}, url = {http://www.ncbi.nlm.nih.gov/pubmed/27566673}, volume = {17}, year = {2016} }</citation> </citations> </tool>