0
|
1 <tool id="gsnap" name="gsnap">
|
|
2
|
|
3 <description>GSNAP version 2012-12-20.
|
|
4 GMAP: A Genomic Mapping and Alignment Program for mRNA and EST Sequences, and
|
|
5 GSNAP: Genomic Short-read Nucleotide Alignment Program
|
|
6 </description>
|
|
7
|
|
8 <requirements>
|
|
9 <requirement type="package">gmap</requirement>
|
|
10 </requirements>
|
|
11
|
|
12
|
|
13 <command interpreter="python"> wrappGSNAP.py
|
|
14 -d $genomeName -D $genomeName.files_path -k $kmer -i $inputFasta -q $inputFastq -A $outputFormat
|
|
15
|
|
16 #if $optionPairedEnd.paire == 'Yes':
|
|
17 -p $optionPairedEnd.pairedEndFile
|
|
18 #end if
|
|
19
|
|
20 > $outputSam
|
|
21
|
|
22 </command>
|
|
23
|
|
24 <inputs>
|
|
25 <param name="inputFasta" type="data" format="fasta" label="Reference genome file, fasta format."/>
|
|
26 <param name="genomeName" type="text" value="Arabidopsis_Thaliana" label="Please give the reference genome a name! (Ex. Arabidopsis_Thaliana)"/>
|
|
27 <param name="kmer" type="integer" value="12" label="Choose kmer value (<=16), a big kmer value can take more RAM(4Go)." />
|
|
28 <param name="inputFastq" type="data" format="fastq" label="Input fastq file."/>
|
|
29 <param name="outputFormat" type="text" format="sam" label="Choose an output format [sam, goby (need to re-compile with appropriate options)]."/>
|
|
30
|
|
31 <conditional name="optionPairedEnd">
|
|
32 <param name="paire" type="select" label="pairedEnd fastq file">
|
|
33 <option value="Yes">Yes</option>
|
|
34 <option value="No" selected="true">No</option>
|
|
35 </param>
|
|
36 <when value="Yes">
|
|
37 <param name="pairedEndFile" type="data" format="fastq"/>
|
|
38 </when>
|
|
39 <when value="No">
|
|
40 </when>
|
|
41 </conditional>
|
|
42
|
|
43 </inputs>
|
|
44
|
|
45 <outputs>
|
|
46 <data format="sam" name="outputSam" label="gsnap Output"/>
|
|
47 </outputs>
|
|
48
|
|
49 </tool>
|