annotate yac.xml @ 1:8a8f62b4bf27 draft

planemo upload for repository https://bitbucket.org/drosofff/gedtools/
author drosofff
date Wed, 24 Jun 2015 17:06:30 -0400
parents 307cd074fa95
children 91cce7c1436d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
8a8f62b4bf27 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents: 0
diff changeset
1 <tool id="yac" name="Clip adapter" version="1.3.5">
0
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
2 <description />
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
3 <command interpreter="python">yac.py --input $input
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
4 --output $output
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
5 --output_format "$out_format"
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
6 --adapter_to_clip $clip_source.clip_sequence
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
7 --min $min
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
8 --max $max
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
9 --Nmode $Nmode
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
10 </command>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
11 <inputs>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
12 <param format="fastq" label="Source file" name="input" type="data" />
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
13 <param label="min size" name="min" size="4" type="integer" value="15" />
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
14 <param label="max size" name="max" size="4" type="integer" value="36" />
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
15 <param label="Select output format" name="out_format" type="select">
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
16 <option selected="true" value="fasta">Fasta format</option>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
17 <option value="fastq">Fastq format</option>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
18 </param>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
19 <param label="Accept reads containing N?" name="Nmode" type="select">
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
20 <option selected="True" value="accept">accept</option>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
21 <option value="reject">reject</option>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
22 </param>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
23 <conditional name="clip_source">
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
24 <param help="Built-in adapters or User-provided" label="Source" name="clip_source_list" type="select">
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
25 <option selected="True" value="prebuilt">Use a built-in adapter (select from the list below)</option>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
26 <option value="user">Use custom sequence</option>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
27 </param>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
28 <when value="prebuilt">
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
29 <param help="if your adapter is not listed, input your own sequence" label="Select Adapter to clip" name="clip_sequence" type="select">
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
30 <option value="TCGTATGCCGTCTTCTGCTTG">Solexa TCGTATGCCGTCTTCTGCTTG</option>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
31 <option value="ATCTCGTATGCCGTCTTCTGCTT">Illumina ATCTCGTATGCCGTCTTCTGCTT</option>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
32 <option selected="True" value="TGGAATTCTCGGGTGCCAAG">Illumina TruSeq TGGAATTCTCGGGTGCCAAG</option>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
33 <option value="CTGTAGGCACCATCAATCGT">IdT CTGTAGGCACCATCAATCGT</option>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
34 </param>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
35 </when>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
36 <when value="user">
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
37 <param label="Enter your Sequence" name="clip_sequence" size="35" type="text" value="GAATCC" />
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
38 </when>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
39 </conditional>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
40 </inputs>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
41 <outputs>
1
8a8f62b4bf27 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents: 0
diff changeset
42 <data format="fasta" metadata_source="input" name="output">
8a8f62b4bf27 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents: 0
diff changeset
43 <change_format>
8a8f62b4bf27 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents: 0
diff changeset
44 <when input="out_format" value="fastq" format="fastq" />
8a8f62b4bf27 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents: 0
diff changeset
45 </change_format>
8a8f62b4bf27 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents: 0
diff changeset
46 </data>
0
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
47 </outputs>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
48 <tests>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
49 <test>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
50 <param ftype="fastqsanger" name="input" value="yac.fastq" />
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
51 <param name="min" value="18" />
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
52 <param name="max" value="29" />
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
53 <param name="clip_source_list" value="prebuilt" />
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
54 <param name="clip_sequence" value="ATCTCGTATGCCGTCTTCTGCTT" />
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
55 <param name="Nmode" value="accept" />
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
56 <output file="yac.out" name="output" />
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
57 </test>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
58 <test>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
59 <param ftype="fastqsanger" name="input" value="yac.fastq" />
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
60 <param name="min" value="18" />
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
61 <param name="max" value="29" />
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
62 <param name="clip_source_list" value="prebuilt" />
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
63 <param name="clip_sequence" value="ATCTCGTATGCCGTCTTCTGCTT" />
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
64 <param name="Nmode" value="accept" />
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
65 <param name="out_format" value="fastq" />
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
66 <output file="yac_fastq.out" name="output" />
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
67 </test>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
68 </tests>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
69 <help>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
70 This tool clips adapter sequences from a fastq file and outputs either a
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
71 fasta or fastq file of clipped reads with renumbered fasta/fastq headers.
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
72
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
73 By defualt clipped sequences with unknown nucleotides are kept, but
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
74 can be discarded by setting "Accept reads containing N?" to reject.
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
75
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
76 Min size and max size filter clipped reads on their size.
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
77
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
78 Note that unclipped reads that satisfy the min and max size conditions are kept.
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
79 </help>
307cd074fa95 planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff changeset
80 </tool>