Mercurial > repos > drosofff > yac_clipper
comparison yac.xml @ 0:2445856981a1 draft
Imported from capsule None
author | drosofff |
---|---|
date | Mon, 03 Nov 2014 09:34:45 -0500 |
parents | |
children | e5ef40107f54 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:2445856981a1 |
---|---|
1 <tool id="yac" name="Clip adapter" version="1.1.0"> | |
2 <description></description> | |
3 <command interpreter="python">yac.py --input $input | |
4 --output $output | |
5 --adapter_to_clip $clip_source.clip_sequence | |
6 --min $min | |
7 --max $max | |
8 --Nmode $Nmode | |
9 </command> | |
10 <inputs> | |
11 <param format="fastq" name="input" type="data" label="Source file"/> | |
12 <param name="min" type="integer" size="4" value="15" label="min size"/> | |
13 <param name="max" type="integer" size="4" value="36" label="max size"/> | |
14 <param name="Nmode" type="select" label="Accept reads containing N?"> | |
15 <option value="accept" selected="True">accept</option> | |
16 <option value="reject">reject</option> | |
17 </param> | |
18 <conditional name="clip_source"> | |
19 <param name="clip_source_list" type="select" label="Source" help="Built-in adapters or User-provided"> | |
20 <option value="prebuilt" selected="True">Use a built-in adapter (select from the list below)</option> | |
21 <option value="user">Use custom sequence</option> | |
22 </param> | |
23 <when value="prebuilt"> | |
24 <param name="clip_sequence" type="select" label="Select Adapter to clip" help="if your adapter is not listed, input your own sequence"> | |
25 <option value="TCGTATGCCGTCTTCTGCTTG">Solexa TCGTATGCCGTCTTCTGCTTG</option> | |
26 <option value="ATCTCGTATGCCGTCTTCTGCTT">Illumina ATCTCGTATGCCGTCTTCTGCTT</option> | |
27 <option value="TGGAATTCTCGGGTGCCAAG" selected="True">Illumina TruSeq TGGAATTCTCGGGTGCCAAG</option> | |
28 <option value="CTGTAGGCACCATCAATCGT">IdT CTGTAGGCACCATCAATCGT</option> | |
29 </param> | |
30 </when> | |
31 <when value="user"> | |
32 <param name="clip_sequence" type="text" size="35" label="Enter your Sequence" value="GAATCC"/> | |
33 </when> | |
34 </conditional> | |
35 </inputs> | |
36 <outputs> | |
37 <data format="fasta" name="output" metadata="input" /> | |
38 </outputs> | |
39 | |
40 <help> | |
41 <!-- write a decent doc ! --> | |
42 This tool clips adapter sequences from a fastq file and fasta file of clipped reads with renumbered fasta headers. | |
43 | |
44 Clipped sequences with Ns can be discarded. | |
45 | |
46 Min size and max size filter clipped reads on their size. | |
47 | |
48 Note that unclipped reads that satisfy the min and max size conditions are kept. | |
49 </help> | |
50 | |
51 <!-- write a <test> section --> | |
52 <tests> | |
53 <test> | |
54 <param name="input" value="yac.fastq" ftype="fastqsanger"/> | |
55 <param name="min" value="18" /> | |
56 <param name="max" value="29" /> | |
57 <param name="clip_source_list" value="prebuilt" /> | |
58 <param name="clip_sequence" value="ATCTCGTATGCCGTCTTCTGCTT" /> | |
59 <param name="Nmode" value="accept" /> | |
60 <output name="output" file="yac.out" /> | |
61 </test> | |
62 </tests> | |
63 | |
64 </tool> |