Mercurial > repos > mvdbeek > planemo_0_24_2_test
annotate yac.xml @ 0:a5fee116b75b draft default tip
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
author | mvdbeek |
---|---|
date | Mon, 25 Apr 2016 09:20:55 -0400 |
parents | |
children |
rev | line source |
---|---|
0
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
1 <tool id="yac" name="Clip adapter" version="1.3.6"> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
2 <description /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
3 <command interpreter="python">yac.py --input $input |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
4 --output $output |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
5 --output_format "$out_format" |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
6 --adapter_to_clip $clip_source.clip_sequence |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
7 --min $min |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
8 --max $max |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
9 --Nmode $Nmode |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
10 </command> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
11 <inputs> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
12 <param format="fastq" label="Source file" name="input" type="data" /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
13 <param label="min size" name="min" size="4" type="integer" value="15" /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
14 <param label="max size" name="max" size="4" type="integer" value="36" /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
15 <param label="Select output format" name="out_format" type="select"> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
16 <option selected="true" value="fasta">Fasta format</option> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
17 <option value="fastq">Fastq format</option> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
18 </param> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
19 <param label="Accept reads containing N?" name="Nmode" type="select"> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
20 <option selected="True" value="accept">accept</option> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
21 <option value="reject">reject</option> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
22 </param> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
23 <conditional name="clip_source"> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
24 <param help="Built-in adapters or User-provided" label="Source" name="clip_source_list" type="select"> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
25 <option selected="True" value="prebuilt">Use a built-in adapter (select from the list below)</option> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
26 <option value="user">Use custom sequence</option> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
27 </param> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
28 <when value="prebuilt"> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
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"> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
30 <option value="TCGTATGCCGTCTTCTGCTTG">Solexa TCGTATGCCGTCTTCTGCTTG</option> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
31 <option value="ATCTCGTATGCCGTCTTCTGCTT">Illumina ATCTCGTATGCCGTCTTCTGCTT</option> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
32 <option selected="True" value="TGGAATTCTCGGGTGCCAAG">Illumina TruSeq TGGAATTCTCGGGTGCCAAG</option> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
33 <option value="CTGTAGGCACCATCAATCGT">IdT CTGTAGGCACCATCAATCGT</option> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
34 </param> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
35 </when> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
36 <when value="user"> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
37 <param label="Enter your Sequence" name="clip_sequence" size="35" type="text" value="GAATCC" /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
38 </when> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
39 </conditional> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
40 </inputs> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
41 <outputs> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
42 <data format="fasta" metadata_source="input" name="output"> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
43 <change_format> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
44 <when input="out_format" value="fastq" format="fastq" /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
45 </change_format> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
46 </data> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
47 </outputs> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
48 <tests> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
49 <test> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
50 <param ftype="fastqsanger" name="input" value="yac.fastq" /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
51 <param name="min" value="18" /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
52 <param name="max" value="29" /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
53 <param name="clip_source_list" value="prebuilt" /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
54 <param name="clip_sequence" value="ATCTCGTATGCCGTCTTCTGCTT" /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
55 <param name="Nmode" value="accept" /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
56 <output file="yac.out" name="output" /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
57 </test> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
58 <test> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
59 <param ftype="fastqsanger" name="input" value="yac.fastq" /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
60 <param name="min" value="18" /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
61 <param name="max" value="29" /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
62 <param name="clip_source_list" value="prebuilt" /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
63 <param name="clip_sequence" value="ATCTCGTATGCCGTCTTCTGCTT" /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
64 <param name="Nmode" value="accept" /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
65 <param name="out_format" value="fastq" /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
66 <output file="yac_fastq.out" name="output" /> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
67 </test> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
68 </tests> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
69 <help> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
70 This tool clips adapter sequences from a fastq file and outputs either a |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
71 fasta or fastq file of clipped reads with renumbered fasta/fastq headers. |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
72 |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
73 By default clipped sequences with unknown nucleotides are kept, but |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
74 can be discarded by setting "Accept reads containing N?" to reject. |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
75 |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
76 Min size and max size filter clipped reads on their size. |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
77 |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
78 Note that unclipped reads that satisfy the min and max size conditions are kept. |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
79 </help> |
a5fee116b75b
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 70312b58ba246c07e70cdbd0a097f274f1386d09-dirty
mvdbeek
parents:
diff
changeset
|
80 </tool> |