annotate SMART/galaxy/WrappGetLetterDistribution.xml @ 16:6135c3075bc5

Deleted selected files
author m-zytnicki
date Mon, 22 Apr 2013 11:09:41 -0400
parents 440ceca58672
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="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>
6
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 WrappGetLetterDistribution.py -i $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 #else :
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 -c $ouputFileNameCSV -a $ouputFileNamePNG1 -b $ouputFileNamePNG2
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
11 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
12 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
13 <conditional name="formatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
14 <param name="FormatInputFileName" type="select" label="Input File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
15 <option value="fasta">fasta</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
16 <option value="fastq" selected="true">fastq</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
17 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
18 <when value="fasta">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
19 <param name="inputFileName" format="fasta" type="data" label="Fasta Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
20 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
21 <when value="fastq">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
22 <param name="inputFileName" format="fastq" type="data" label="Fastq 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 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
25 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
26
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
27 <outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
28 <data name="ouputFileNameCSV" format="tabular" label="[getLetterDistribution] CSV File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
29 <data name="ouputFileNamePNG1" format="png" label="[getLetterDistribution] PNG File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
30 <data name="ouputFileNamePNG2" format="png" label="[getLetterDistribution] PNG File 2"/>
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
31 </outputs>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
32 <tests>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
33 <test>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
34 <param name="FormatInputFileName" value="fastq" />
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
35 <param name="inputFileName" value="short_fastq.fastq" />
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
36 <output name="outputFileNameCSV" file="exp_getletterdistribution_short_fastq.csv" />
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
37 </test>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
38 </tests>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
39
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
40 <help>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
41 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**.
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
42
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
43 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.
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
44 </help>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
45 </tool>