annotate SMART/galaxy/getReadDistribution.xml @ 15:440ceca58672

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