comparison correct_barcodes.xml @ 6:9a0bee12b583 draft default tip

planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
author nick
date Mon, 06 Feb 2017 23:39:11 -0500
parents
children
comparison
equal deleted inserted replaced
5:4bc49a5769ee 6:9a0bee12b583
1 <?xml version="1.0"?>
2 <tool id="correct_barcodes" name="Du Novo: Correct barcodes" version="0.6">
3 <description>of duplex sequencing reads</description>
4 <requirements>
5 <requirement type="package" version="2.1.0">bowtie2</requirement>
6 <requirement type="package" version="0.1.18">samtools</requirement>
7 <requirement type="package" version="1.9">networkx</requirement>
8 <requirement type="package" version="0.6">duplex</requirement>
9 <requirement type="set_environment">DUPLEX_DIR</requirement>
10 <!-- TODO: require Python 2.7 -->
11 </requirements>
12 <command detect_errors="exit_code">bash "\$DUPLEX_DIR/baralign.sh" '$input' refdir barcodes.bam
13 &amp;&amp; samtools view -f 256 barcodes.bam
14 | python "\$DUPLEX_DIR/correct.py" -d $dist -m $mapq -p $pos '$input' refdir/barcodes.fa
15 | sort &gt; '$output'
16 </command>
17 <inputs>
18 <param name="input" type="data" format="tabular" label="Input reads" help="with barcodes, grouped by family"/>
19 <param name="dist" type="integer" value="1" min="1" label="Maximum edit distance" help="Only use alignments where the barcodes differ by at most these many errors."/>
20 <param name="mapq" type="integer" value="20" min="0" label="Minimum mapping quality" help="Only use alignments whose MAPQ is at least this."/>
21 <param name="pos" type="integer" value="2" min="0" label="Minimum start offset" help="Ignore alignments where the start positions differ by more than this."/>
22 </inputs>
23 <outputs>
24 <data name="output" format="tabular"/>
25 </outputs>
26 <citations>
27 <citation type="bibtex">@article{Stoler2016,
28 author = {Stoler, Nicholas and Arbeithuber, Barbara and Guiblet, Wilfried and Makova, Kateryna D and Nekrutenko, Anton},
29 doi = {10.1186/s13059-016-1039-4},
30 issn = {1474-760X},
31 journal = {Genome biology},
32 number = {1},
33 pages = {180},
34 pmid = {27566673},
35 publisher = {Genome Biology},
36 title = {{Streamlined analysis of duplex sequencing data with Du Novo.}},
37 url = {http://www.ncbi.nlm.nih.gov/pubmed/27566673},
38 volume = {17},
39 year = {2016}
40 }</citation>
41 </citations>
42 <help>
43
44 **What it does**
45
46 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 bowtie2. This identifies ones which are identical except a few, small differences.
47
48 -----
49
50 **Input**
51
52 This expects the output format of the "Make families" tool.
53
54 -----
55
56 **Output**
57
58 The output format is the same as the input format, ready to be consumed by the "Align families" tool.
59
60 </help>
61 </tool>