annotate SMART/galaxy/WrappGetLetterDistribution.xml @ 27:4e7ee5683ef1

Deleted selected files
author m-zytnicki
date Mon, 29 Apr 2013 03:30:11 -0400
parents 94ab73e8a190
children 0ab839023fe4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
1 <tool id="getLetterDistribution1" name="get letter distribution">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
2 <description>Calculate distribution for each nucleotide per position for all short 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">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
7 WrappGetLetterDistribution.py -i $inputFileName
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
8 #if $formatType.FormatInputFileName == 'fasta':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
9 -f fasta
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
10 #else :
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
11 -f fastq
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
12 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
13 -c $ouputFileNameCSV -a $ouputFileNamePNG1 -b $ouputFileNamePNG2
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
14 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
15 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
16 <conditional name="formatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
17 <param name="FormatInputFileName" type="select" label="Input File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
18 <option value="fasta">fasta</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
19 <option value="fastq" selected="true">fastq</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
20 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
21 <when value="fasta">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
22 <param name="inputFileName" format="fasta" type="data" label="Fasta Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
23 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
24 <when value="fastq">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
25 <param name="inputFileName" format="fastq" type="data" label="Fastq Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
26 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
27 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
28 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
29
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
30 <outputs>
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
31 <data name="ouputFileNameCSV" format="tabular" label="[get letter distribution] CSV file"/>
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
32 <data name="ouputFileNamePNG1" format="png" label="[get letter distribution] PNG file 1"/>
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
33 <data name="ouputFileNamePNG2" format="png" label="[get letter distribution] PNG file 2"/>
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
34 </outputs>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
35 <tests>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
36 <test>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
37 <param name="FormatInputFileName" value="fastq" />
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
38 <param name="inputFileName" value="short_fastq.fastq" />
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
39 <output name="outputFileNameCSV" file="exp_getletterdistribution_short_fastq.csv" />
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
40 </test>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
41 </tests>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
42
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
43 <help>
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
44 The script gets the nucleotide distribution of the input sequence list. It outputs two files. The first file shows the nucleotide distribution of the data. More precisely, a point (*x*, *y*) on the curve **A** shows that *y* sequences have *x* % of **A**.
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
45
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
46 The second plot shows the average nucleotide distribution for each position of the read. You can use it to detect a bias in the first nucleotides, for instance. A point *x*, *y* on the curve **A** shows that at the position *x*, there are *y*% of **A**. A point (*x*, *y*) on the curve **#** tells you that *y* % of the sequences contain not less than *x* nucleotides. By definition, this latter line is a decreasing function. It usually explains why the tail of the other curves are sometimes erratic: there are few sequences.
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
47 </help>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48 </tool>