|
0
|
1 <tool id="pathoscope_map" name="Pathoscope Map" version="0.1.0">
|
|
|
2 <description> Pathoscope Map </description>
|
|
|
3 <requirements>
|
|
|
4 <requirement type="package" version="2.0.6"> pathoscope </requirement>
|
|
|
5 </requirements>
|
|
|
6 <command> <![CDATA[
|
|
|
7 pathoscope MAP
|
|
|
8 #if str($library.type) == "single"
|
|
|
9 -U $fastqU
|
|
|
10 #elif str($library.type) == "paired"
|
|
|
11 -1 $fastq1
|
|
|
12 -2 $fastq2
|
|
|
13 #end if
|
|
|
14 -indexDir $targetAlignPrefixes.fields.path
|
|
|
15 -targetAlignPrefixes $targetAlignPrefixes
|
|
|
16 -filterAlignPrefixes $filterAlignPrefixes
|
|
|
17 ]]>
|
|
|
18 </command>
|
|
|
19 <inputs>
|
|
|
20 <conditional name="library">
|
|
|
21 <param name="type" type="select" label="Is this single or paired library" help="">
|
|
|
22 <option value="single">Single-end</option>
|
|
|
23 <option value="paired">Paired-end</option>
|
|
|
24 </param>
|
|
|
25 <when value="single">
|
|
|
26 <param name="fastqU" format="fastqsanger" type="data" label="FASTQ file" help="Input Read Fastq File (Unpaired/Single-end)" />
|
|
|
27 </when>
|
|
|
28 <when value="paired">
|
|
|
29 <param name="fastq1" format="fastqsanger" type="data" label="FASTQ file" help="Input Read Fastq File (Unpaired/Single-end)" />
|
|
|
30 <param name="fastq2" format="fastqsanger" type="data" label="FASTQ file" help="Input Read Fastq File (Unpaired/Single-end)" />
|
|
|
31 </when>
|
|
|
32 </conditional>
|
|
|
33 <param name="targetAlignPrefixes" type="select" label="targetAlignPrefixes" help="Target Index Prefixes">
|
|
|
34 <options from_data_table="pathoscope_indexes">
|
|
|
35 <column name="value" index="0"/>
|
|
|
36 <column name="name" index="0"/>
|
|
|
37 <column name="path" index="0"/>
|
|
|
38 </options>
|
|
|
39 </param>
|
|
|
40 <param name="filterAlignPrefixes" type="select" label="filterAlignPrefixes" help="Filter Alignment Files Prefixes">
|
|
|
41 <options from_data_table="pathoscope_indexes">
|
|
|
42 <column name="value" index="0"/>
|
|
|
43 <column name="name" index="0"/>
|
|
|
44 <column name="path" index="0"/>
|
|
|
45 </options>
|
|
|
46 </param>
|
|
|
47 </inputs>
|
|
|
48 <outputs>
|
|
|
49 </outputs>
|
|
|
50 <help>
|
|
|
51 This module will take your reads and map them against a target library. Then it will map the mapping reads
|
|
|
52 against a filter library. All the reads that map to the filter library with a score equal or greater than the mapping
|
|
|
53 score to the target library will be discarded. The reads mapping with a better score to the target library will be
|
|
|
54 used downstream by the PathoID module.
|
|
|
55 </help>
|
|
|
56 <citations>
|
|
|
57 <citation type="doi">10.1101/gr.150151.112</citation>
|
|
|
58 <citation type="doi">10.1186/2049-2618-2-33</citation>
|
|
|
59 <citation type="doi">10.1186/1471-2105-15-262</citation>
|
|
|
60 <citation type="doi">10.4137/CIN.S13890</citation>
|
|
|
61 </citations>
|
|
|
62 </tool>
|