annotate correct_barcodes.xml @ 14:4be10cb5c26e draft

planemo upload for repository https://github.com/galaxyproject/dunovo commit b'a3ad9fbb3f010253808fc0c7329897a741ec9feb\n'
author nick
date Mon, 11 Sep 2017 16:49:53 -0400
parents ffbdaa57d4c6
children e87f8aef4535
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
1 <?xml version="1.0"?>
14
4be10cb5c26e planemo upload for repository https://github.com/galaxyproject/dunovo commit b'a3ad9fbb3f010253808fc0c7329897a741ec9feb\n'
nick
parents: 13
diff changeset
2 <tool id="correct_barcodes" name="Du Novo: Correct barcodes" version="0.8.1">
0
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
3 <description>of duplex sequencing reads</description>
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
4 <requirements>
4
e84c08637928 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'd00f828e5768c5fac3e382b9d12f34bbdf9019e9\n'-dirty
nick
parents: 0
diff changeset
5 <requirement type="package" version="2.2.5">bowtie2</requirement>
0
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
6 <requirement type="package" version="0.1.18">samtools</requirement>
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
7 <requirement type="package" version="1.9">networkx</requirement>
14
4be10cb5c26e planemo upload for repository https://github.com/galaxyproject/dunovo commit b'a3ad9fbb3f010253808fc0c7329897a741ec9feb\n'
nick
parents: 13
diff changeset
8 <requirement type="package" version="0.8.1">dunovo</requirement>
0
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
9 <!-- TODO: require Python 2.7 -->
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
10 </requirements>
6
1534fb45ab54 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'6d49c0120b09941b250a81cd5118436fe96cdfcf\n'-dirty
nick
parents: 5
diff changeset
11 <command detect_errors="exit_code"><![CDATA[
1534fb45ab54 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'6d49c0120b09941b250a81cd5118436fe96cdfcf\n'-dirty
nick
parents: 5
diff changeset
12 baralign.sh '$input' refdir barcodes.bam
1534fb45ab54 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'6d49c0120b09941b250a81cd5118436fe96cdfcf\n'-dirty
nick
parents: 5
diff changeset
13 && samtools view -f 256 barcodes.bam
14
4be10cb5c26e planemo upload for repository https://github.com/galaxyproject/dunovo commit b'a3ad9fbb3f010253808fc0c7329897a741ec9feb\n'
nick
parents: 13
diff changeset
14 | correct.py --galaxy $phone --dist $dist --mapq $mapq --pos $pos '$input' refdir/barcodes.fa
6
1534fb45ab54 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'6d49c0120b09941b250a81cd5118436fe96cdfcf\n'-dirty
nick
parents: 5
diff changeset
15 | sort
1534fb45ab54 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'6d49c0120b09941b250a81cd5118436fe96cdfcf\n'-dirty
nick
parents: 5
diff changeset
16 > '$output'
1534fb45ab54 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'6d49c0120b09941b250a81cd5118436fe96cdfcf\n'-dirty
nick
parents: 5
diff changeset
17 ]]>
0
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
18 </command>
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
19 <inputs>
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
20 <param name="input" type="data" format="tabular" label="Input reads" help="with barcodes, grouped by family"/>
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
21 <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."/>
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
22 <param name="mapq" type="integer" value="20" min="0" label="Minimum mapping quality" help="Only use alignments whose MAPQ is at least this."/>
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
23 <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."/>
6
1534fb45ab54 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'6d49c0120b09941b250a81cd5118436fe96cdfcf\n'-dirty
nick
parents: 5
diff changeset
24 <param name="phone" type="boolean" truevalue="--phone-home" falsevalue="" checked="False" label="Send anonymous 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 taken to process it, and the IP address of the machine running it. No parameters or filenames are sent."/>
0
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
25 </inputs>
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
26 <outputs>
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
27 <data name="output" format="tabular"/>
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
28 </outputs>
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
29 <citations>
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
30 <citation type="bibtex">@article{Stoler2016,
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
31 author = {Stoler, Nicholas and Arbeithuber, Barbara and Guiblet, Wilfried and Makova, Kateryna D and Nekrutenko, Anton},
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
32 doi = {10.1186/s13059-016-1039-4},
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
33 issn = {1474-760X},
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
34 journal = {Genome biology},
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
35 number = {1},
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
36 pages = {180},
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
37 pmid = {27566673},
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
38 publisher = {Genome Biology},
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
39 title = {{Streamlined analysis of duplex sequencing data with Du Novo.}},
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
40 url = {http://www.ncbi.nlm.nih.gov/pubmed/27566673},
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
41 volume = {17},
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
42 year = {2016}
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
43 }</citation>
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
44 </citations>
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
45 <help>
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
46
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
47 **What it does**
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
48
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
49 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.
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
50
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
51 -----
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
52
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
53 **Input**
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
54
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
55 This expects the output format of the "Make families" tool.
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
56
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
57 -----
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
58
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
59 **Output**
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
60
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
61 The output format is the same as the input format, ready to be consumed by the "Align families" tool.
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
62
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
63 </help>
548c63893c70 planemo upload for repository https://github.com/galaxyproject/dunovo commit b'fcd6f371638bc29da6dbe22f939f7a5a7f360481\n'-dirty
nick
parents:
diff changeset
64 </tool>