Mercurial > repos > nick > duplex
comparison duplex.xml @ 0:d2e46adc199e draft
planemo upload commit 35b743e6492923c0e2b1e5e434eaf4e56d268108
author | nick |
---|---|
date | Mon, 23 Nov 2015 22:06:21 -0500 |
parents | |
children | b63d6673f883 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d2e46adc199e |
---|---|
1 <?xml version="1.0"?> | |
2 <tool id="duplex" name="Make consensus reads" version="0.1"> | |
3 <description>from duplex sequencing data</description> | |
4 <requirements> | |
5 <requirement type="package" version="0.1">duplex</requirement> | |
6 <requirement type="set_environment">DUPLEX_DIR</requirement> | |
7 </requirements> | |
8 <command detect_errors="exit_code"><![CDATA[ | |
9 python \$DUPLEX_DIR/duplex.py -r $min_reads -q $qual_thres -F $qual_format $input | |
10 #if $keep_sscs: | |
11 --sscs-file $sscs | |
12 #end if | |
13 > duplex.fa | |
14 && awk -f \$DUPLEX_DIR/utils/outconv.awk -v target=1 duplex.fa > $output1 | |
15 && awk -f \$DUPLEX_DIR/utils/outconv.awk -v target=2 duplex.fa > $output2 | |
16 ]]> | |
17 </command> | |
18 <inputs> | |
19 <param name="input" type="data" format="tabular" label="Aligned input reads" /> | |
20 <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."/> | |
21 <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."/> | |
22 <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+"> | |
23 <option value="sanger" selected="true">Sanger (PHRED 0 = "!")</option> | |
24 <option value="solexa">Solexa (PHRED 0 = "@")</option> | |
25 </param> | |
26 <param name="keep_sscs" type="boolean" truevalue="true" falsevalue="" label="Output single-strand consensus sequences" /> | |
27 </inputs> | |
28 <outputs> | |
29 <data name="output1" format="fasta" label="$tool.name on $on_string (mate 1)"/> | |
30 <data name="output2" format="fasta" label="$tool.name on $on_string (mate 2)"/> | |
31 <data name="sscs" format="fasta" label="$tool.name on $on_string (SSCS)"> | |
32 <filter>keep_sscs</filter> | |
33 </data> | |
34 </outputs> | |
35 <tests> | |
36 <test> | |
37 <param name="input" value="families.msa.tsv"/> | |
38 <output name="output1" file="families.cons_1.fa"/> | |
39 <output name="output2" file="families.cons_2.fa"/> | |
40 </test> | |
41 </tests> | |
42 <help> | |
43 | |
44 **What it does** | |
45 | |
46 This is for processing duplex sequencing data. It creates single-strand and duplex consensus reads from aligned read families. | |
47 | |
48 ----- | |
49 | |
50 **Input** | |
51 | |
52 This expects the output format of the "Align families" tool. | |
53 | |
54 ----- | |
55 | |
56 **Output** | |
57 | |
58 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. | |
59 | |
60 </help> | |
61 </tool> |