Mercurial > repos > drosofff > yac_clipper
annotate yac.xml @ 3:a18edcf9c7ed draft default tip
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit b6de14061c479f0418cd89e26d6f5ac26e565a07
author | drosofff |
---|---|
date | Tue, 08 Nov 2016 12:25:10 -0500 |
parents | 91cce7c1436d |
children |
rev | line source |
---|---|
2
91cce7c1436d
planemo upload for repository https://bitbucket.org/drosofff/gedtools/ commit ce185c8eaa7a15cb400b3bd0cedb56efedb0e99f
drosofff
parents:
1
diff
changeset
|
1 <tool id="yac" name="Clip adapter" version="1.3.6"> |
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> |
3
a18edcf9c7ed
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit b6de14061c479f0418cd89e26d6f5ac26e565a07
drosofff
parents:
2
diff
changeset
|
70 This tool clips adapter sequences from a fasta or fastq file and |
a18edcf9c7ed
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit b6de14061c479f0418cd89e26d6f5ac26e565a07
drosofff
parents:
2
diff
changeset
|
71 outputs either a fasta or fastq file of clipped reads with |
a18edcf9c7ed
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit b6de14061c479f0418cd89e26d6f5ac26e565a07
drosofff
parents:
2
diff
changeset
|
72 renumbered fasta/fastq headers. |
0
307cd074fa95
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
73 |
2
91cce7c1436d
planemo upload for repository https://bitbucket.org/drosofff/gedtools/ commit ce185c8eaa7a15cb400b3bd0cedb56efedb0e99f
drosofff
parents:
1
diff
changeset
|
74 By default clipped sequences with unknown nucleotides are kept, but |
0
307cd074fa95
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
75 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
|
76 |
307cd074fa95
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
77 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
|
78 |
307cd074fa95
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
79 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
|
80 </help> |
307cd074fa95
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
diff
changeset
|
81 </tool> |