Mercurial > repos > nick > duplex
annotate dunovo.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 | 4bc49a5769ee |
| children |
| rev | line source |
|---|---|
| 4 | 1 <?xml version="1.0"?> |
|
6
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
2 <tool id="duplex" name="Du Novo: Make consensus reads" version="0.6"> |
| 4 | 3 <description>from duplex sequencing alignments</description> |
| 4 <requirements> | |
|
6
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
5 <requirement type="package" version="0.6">duplex</requirement> |
| 4 | 6 <requirement type="set_environment">DUPLEX_DIR</requirement> |
| 7 <!-- TODO: require Python 2.7 --> | |
| 8 </requirements> | |
| 9 <command detect_errors="exit_code"><![CDATA[ | |
|
6
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
10 python "\$DUPLEX_DIR/dunovo.py" -r $min_reads -q $qual_thres -F $qual_format '$input' |
| 4 | 11 #if $keep_sscs: |
|
5
4bc49a5769ee
Version 0.5: Split interleaved SSCS output file into two paired files.
nick
parents:
4
diff
changeset
|
12 --sscs-file sscs.fa |
| 4 | 13 #end if |
| 14 > duplex.fa | |
|
6
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
15 && python "\$DUPLEX_DIR/utils/outconv.py" duplex.fa -1 '$dcs1' -2 '$dcs2' |
|
5
4bc49a5769ee
Version 0.5: Split interleaved SSCS output file into two paired files.
nick
parents:
4
diff
changeset
|
16 #if $keep_sscs: |
|
6
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
17 && python "\$DUPLEX_DIR/utils/outconv.py" sscs.fa -1 '$sscs1' -2 '$sscs2' |
|
5
4bc49a5769ee
Version 0.5: Split interleaved SSCS output file into two paired files.
nick
parents:
4
diff
changeset
|
18 #end if |
| 4 | 19 ]]> |
| 20 </command> | |
| 21 <inputs> | |
| 22 <param name="input" type="data" format="tabular" label="Aligned input reads" /> | |
| 23 <param name="min_reads" type="integer" value="3" min="1" label="Minimum reads per family" help="Single-strand families with fewer than this many reads will be skipped."/> | |
| 24 <param name="qual_thres" type="integer" value="25" min="1" label="Minimum base quality" help="Bases with a PHRED score less than this will not be counted in the consensus making."/> | |
| 25 <param name="qual_format" type="select" label="FASTQ format" help="Solexa should also work for Illumina 1.3+ and 1.5+, and Sanger should work for Illumina 1.8+"> | |
| 26 <option value="sanger" selected="true">Sanger (PHRED 0 = "!")</option> | |
| 27 <option value="solexa">Solexa (PHRED 0 = "@")</option> | |
| 28 </param> | |
|
5
4bc49a5769ee
Version 0.5: Split interleaved SSCS output file into two paired files.
nick
parents:
4
diff
changeset
|
29 <param name="keep_sscs" type="boolean" truevalue="true" falsevalue="" label="Output single-strand consensus sequences as well" /> |
| 4 | 30 </inputs> |
| 31 <outputs> | |
|
5
4bc49a5769ee
Version 0.5: Split interleaved SSCS output file into two paired files.
nick
parents:
4
diff
changeset
|
32 <data name="dcs1" format="fasta" label="$tool.name on $on_string (mate 1)"/> |
|
4bc49a5769ee
Version 0.5: Split interleaved SSCS output file into two paired files.
nick
parents:
4
diff
changeset
|
33 <data name="dcs2" format="fasta" label="$tool.name on $on_string (mate 2)"/> |
|
4bc49a5769ee
Version 0.5: Split interleaved SSCS output file into two paired files.
nick
parents:
4
diff
changeset
|
34 <data name="sscs1" format="fasta" label="$tool.name on $on_string (SSCS mate 1)"> |
|
4bc49a5769ee
Version 0.5: Split interleaved SSCS output file into two paired files.
nick
parents:
4
diff
changeset
|
35 <filter>keep_sscs</filter> |
|
4bc49a5769ee
Version 0.5: Split interleaved SSCS output file into two paired files.
nick
parents:
4
diff
changeset
|
36 </data> |
|
4bc49a5769ee
Version 0.5: Split interleaved SSCS output file into two paired files.
nick
parents:
4
diff
changeset
|
37 <data name="sscs2" format="fasta" label="$tool.name on $on_string (SSCS mate 2)"> |
| 4 | 38 <filter>keep_sscs</filter> |
| 39 </data> | |
| 40 </outputs> | |
| 41 <tests> | |
| 42 <test> | |
| 43 <param name="input" value="families.msa.tsv"/> | |
|
5
4bc49a5769ee
Version 0.5: Split interleaved SSCS output file into two paired files.
nick
parents:
4
diff
changeset
|
44 <output name="dcs1" file="families.cons_1.fa"/> |
|
4bc49a5769ee
Version 0.5: Split interleaved SSCS output file into two paired files.
nick
parents:
4
diff
changeset
|
45 <output name="dcs2" file="families.cons_2.fa"/> |
| 4 | 46 </test> |
| 47 </tests> | |
|
6
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
48 <citations> |
|
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
49 <citation type="bibtex">@article{Stoler2016, |
|
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
50 author = {Stoler, Nicholas and Arbeithuber, Barbara and Guiblet, Wilfried and Makova, Kateryna D and Nekrutenko, Anton}, |
|
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
51 doi = {10.1186/s13059-016-1039-4}, |
|
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
52 issn = {1474-760X}, |
|
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
53 journal = {Genome biology}, |
|
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
54 number = {1}, |
|
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
55 pages = {180}, |
|
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
56 pmid = {27566673}, |
|
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
57 publisher = {Genome Biology}, |
|
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
58 title = {{Streamlined analysis of duplex sequencing data with Du Novo.}}, |
|
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
59 url = {http://www.ncbi.nlm.nih.gov/pubmed/27566673}, |
|
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
60 volume = {17}, |
|
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
61 year = {2016} |
|
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
62 }</citation> |
|
9a0bee12b583
planemo upload for repository https://github.com/galaxyproject/dunovo commit b'9fbe4b8871038d2945fa4b9ee0b5f89cf4e4f494\n'-dirty
nick
parents:
5
diff
changeset
|
63 </citations> |
| 4 | 64 <help> |
| 65 | |
| 66 **What it does** | |
| 67 | |
| 68 This is for processing duplex sequencing data. It creates single-strand and duplex consensus reads from aligned read families. | |
| 69 | |
| 70 ----- | |
| 71 | |
| 72 **Input** | |
| 73 | |
| 74 This expects the output format of the "Align families" tool. | |
| 75 | |
| 76 ----- | |
| 77 | |
| 78 **Output** | |
| 79 | |
| 80 This will output final, duplex consensus reads in two FASTA files (first and second reads in the pairs). Optionally, you can save the single-strand reads too, in a separate FASTA file. | |
| 81 | |
| 82 </help> | |
| 83 </tool> |
