31
|
1 <tool id="getLetterDistribution1" name="Get Letter Distribution">
|
|
2 <description>Calculate distribution for each nucleotide per position for all short reads (S-MART)</description>
|
6
|
3 <command interpreter="python">
|
|
4 WrappGetLetterDistribution.py -i $inputFileName
|
|
5 #if $formatType.FormatInputFileName == 'fasta':
|
|
6 -f fasta
|
|
7 #else :
|
|
8 -f fastq
|
|
9 #end if
|
|
10 -c $ouputFileNameCSV -a $ouputFileNamePNG1 -b $ouputFileNamePNG2
|
|
11 </command>
|
|
12 <inputs>
|
|
13 <conditional name="formatType">
|
|
14 <param name="FormatInputFileName" type="select" label="Input File Format">
|
|
15 <option value="fasta">fasta</option>
|
|
16 <option value="fastq" selected="true">fastq</option>
|
|
17 </param>
|
|
18 <when value="fasta">
|
|
19 <param name="inputFileName" format="fasta" type="data" label="Fasta Input File"/>
|
|
20 </when>
|
|
21 <when value="fastq">
|
|
22 <param name="inputFileName" format="fastq" type="data" label="Fastq Input File"/>
|
|
23 </when>
|
|
24 </conditional>
|
|
25 </inputs>
|
|
26
|
|
27 <outputs>
|
31
|
28 <data name="ouputFileNameCSV" format="tabular" label="[getLetterDistribution] CSV File"/>
|
|
29 <data name="ouputFileNamePNG1" format="png" label="[getLetterDistribution] PNG File 1"/>
|
|
30 <data name="ouputFileNamePNG2" format="png" label="[getLetterDistribution] PNG File 2"/>
|
15
|
31 </outputs>
|
|
32 <tests>
|
|
33 <test>
|
|
34 <param name="FormatInputFileName" value="fastq" />
|
|
35 <param name="inputFileName" value="short_fastq.fastq" />
|
|
36 <output name="outputFileNameCSV" file="exp_getletterdistribution_short_fastq.csv" />
|
|
37 </test>
|
|
38 </tests>
|
31
|
39 </tool>
|
15
|
40
|