annotate SMART/galaxy/trimSequences.xml @ 28:2a3fdec156e0

Deleted selected files
author m-zytnicki
date Mon, 29 Apr 2013 03:31:52 -0400
parents 94ab73e8a190
children 0ab839023fe4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
1 <tool id="trimSequences" name="trim sequences">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
2 <description>Remove the 5' and/or 3' adapters of a list of reads.</description>
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
3 <requirements>
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
4 <requirement type="set_environment">PYTHONPATH</requirement>
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
5 </requirements>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
6 <command interpreter="python"> ../Java/Python/trimSequences.py -i $inputFile -f fastq
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
7 #if $OptionFPADP.FPADP == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
8 -5 $OptionFPADP.fivePAdaptor
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
9 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
10 #if $OptionTPADP.TPADP == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
11 -3 $OptionTPADP.threePAdaptor
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
12 #end if
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
13 -e $errors
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
14 $indels
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
15 $noAdaptor5p $noAdaptorFile5p
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
16 $noAdaptor3p $noAdaptorFile3p
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
17 -o $outputFile
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
18
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
19 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
20
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
21
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
22 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
23 <param name="inputFile" type="data" label="Input fastq File" format="fastq"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
24
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
25 <conditional name="OptionFPADP">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
26 <param name="FPADP" type="select" label="5' adapter">
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
27 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
28 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
29 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
30 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
31 <param name="fivePAdaptor" type="text" value="None" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
32 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
33 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
34 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
35 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
36
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
37 <conditional name="OptionTPADP">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
38 <param name="TPADP" type="select" label="3' adapter">
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
39 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
40 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
41 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
42 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
43 <param name="threePAdaptor" type="text" value="None" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
44 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
45 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
46 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
47 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
49 <param name="errors" type="integer" label="number of errors in percent" value="0" />
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
50 <param name="indels" type="boolean" truevalue="-d" falsevalue="" checked="false" label="indels option" help="also accept indels"/>
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
51 <param name="noAdaptor5p" type="boolean" truevalue="-n" falsevalue="" checked="false" label="noAdaptor 5' option" help="file name where to print sequences with no 5' adapter "/>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
52 <param name="noAdaptor3p" type="boolean" truevalue="-m" falsevalue="" checked="false" label="noAdaptor 3' option" help="file name where to print sequences with no 3' adapter "/>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
53
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
54 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
55
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
56 <outputs>
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
57 <data format="fastq" name="outputFile" label="[trim sequences] output file"/>
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
58 <data name="noAdaptorFile5p" format="fastq" label="[trim sequences] noAdapter5p file">
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
59 <filter>noAdaptor5p</filter>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
60 </data>
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
61 <data name="noAdaptorFile3p" format="fastq" label="[trim sequences] noAdapter3p file">
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
62 <filter>noAdaptor3p</filter>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
63 </data>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
64 </outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
65
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
66 <help>
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
67 This function removes the adaptor from the 5' or 3' end of your reads. It can even recognize the adaptators which are partially present. You can specify whether you are ready to accept indels or not.
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
68 </help>
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
69 <tests>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
70 <test>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
71 <param name="inputFile" value="short_fastq.fastq" />
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
72 <param name="FPADP" value="Yes"/>
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
73 <param name="fivePAdaptor" value="AAAA" />
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
74 <param name="TPADP" value="No"/>
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
75 <param name="errors" value="1"/>
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
76 <param name="indels" value="False"/>
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
77 <param name="noAdaptor5p" value="False"/>
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
78 <param name= "noAdaptor3p" value="False"/>
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
79 <output name="outputFile" file="exp_trimsequences_short_fastq.fastq" />
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
80 </test>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
81 </tests>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
82 </tool>