annotate SMART/galaxy/getReadDistribution.xml @ 41:e57682cd6997

Uploaded
author m-zytnicki
date Thu, 30 May 2013 03:04:47 -0400
parents 2c0c0a89fad7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
1 <tool id="getReadDistribution" name="get read distribution">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
2 <description>Get Read Distribution v1.0.1: Plot the number of identical reads and give the most represented.</description>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
3 <requirements>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
4 <requirement type="set_environment">PYTHONPATH</requirement>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
5 </requirements>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
6 <command interpreter="python">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
7 ../Java/Python/WrappGetReadDistribution.py -i $formatType.inputFileName
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
8 #if $formatType.FormatInputFileName == 'fasta':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
9 -f fasta
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
10 #elif $formatType.FormatInputFileName == 'fastq':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
11 -f fastq
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
12 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
13
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
14 #if $optionnumber.number == 'Yes':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
15 -n $optionnumber.bestNumber
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
16 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
17 #if $optionpercent.percent == 'Yes':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
18 -p $optionpercent.percentage
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
19 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
20 -o $outputFile
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
21 </command>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
22
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
23 <inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
24 <conditional name="formatType">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
25 <param name="FormatInputFileName" type="select" label="Sequence input File Format ">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
26 <option value="fasta">fasta</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
27 <option value="fastq">fastq</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
28 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
29 <when value="fasta">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
30 <param name="inputFileName" format="fasta" type="data" label="Sequence input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
31 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
32 <when value="fastq">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
33 <param name="inputFileName" format="fastq" type="data" label="Sequence input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
34 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
35 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
36
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
37 <conditional name="optionnumber">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
38 <param name="number" type="select" label="keep the best n">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
39 <option value="Yes">Yes</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
40 <option value="No" selected="true">No</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
41 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
42 <when value="Yes">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
43 <param name="bestNumber" type="integer" value="0" />
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
44 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
45 <when value="No">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
46 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
47 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
48
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
49 <conditional name="optionpercent">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
50 <param name="percent" type="select" label="keep the best n percentage">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
51 <option value="Yes">Yes</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
52 <option value="No" selected="true">No</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
53 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
54 <when value="Yes">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
55 <param name="percentage" type="integer" value="0" />
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
56 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
57 <when value="No">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
58 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
59 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
60
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
61 </inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
62
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
63 <outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
64 <data name="outputFile" format="tar" label="[get read distribution] tar out file" help="You can not see the results directly from galaxy, but you can download this tar output file."/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
65 </outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
66
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
67 <help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
68 This script gives a .tar out file, if you want to take look at the results, you have to download it.
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
69 </help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
70 </tool>