annotate JunctionDiff-vs-background.xml @ 0:1209f18a5a83 draft

Uploaded
author saskia-hiltemann
date Mon, 03 Aug 2015 05:01:15 -0400
parents
children 885ba15c2564
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
1 <tool id="t-vs-vnormal_junctions" name="Virtual Normal Correction SVs" version="1.6">
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
2 <description> Filter SVs based on presence in VN set </description>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
3
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
4 <requirements>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
5 <requirement type="package" version="1.7">cgatools</requirement>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
6 </requirements>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
7
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
8 <command interpreter="bash">
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
9 JunctionDiff-vs-background.sh
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
10 --variants $variants
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
11 --reference ${reference.fields.reference_crr_cgatools}
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
12 #if $virtnorm.VNset == "diversity"
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
13 --VN_junctions ${reference.fields.VN_genomes_junctionfile_list}
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
14 #else
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
15 --VN_junctions ${reference.fields.VN_genomes_junctionfile_list_1000G}
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
16 #end if
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
17 --cgatools_binary cgatools
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
18 --outputfile_filtered $output_filtered
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
19 --scoreThresholdA $scoreThresholdA
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
20 --scoreThresholdB $scoreThresholdB
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
21 --distance $distance
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
22 --minlength $minlength
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
23 </command>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
24
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
25 <inputs>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
26 <!--select build-->
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
27 <param name="reference" type="select" label="Select Build">
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
28 <options from_data_table="virtual_normal_correction" />
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
29 <filter type="data_meta" ref="variants" key="dbkey" column="0" />
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
30 </param>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
31 <conditional name="virtnorm" >
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
32 <param name="VNset" type="select" label="Select Virtual Normal set to use" help="1000Genomes set can only be used for hg19 samples">
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
33 <option value="diversity" selected="true"> CG Diversity Panel and trios (54 Genomes) (hg18/hg19) </option>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
34 <option value="thousand" > CG 1000G project genomes (433 Genomes) (hg19 only) </option>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
35 </param>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
36 </conditional>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
37 <param name="variants" type="data" format="tabular" label="CG Junctions file"/>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
38 <param name="scoreThresholdA" type="text" value="10" label="scoreThreshold" help="The minimum number of discordant mate pair alignments supporting the junction from input genome"/>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
39 <param name="scoreThresholdB" type="text" value="10" label="scoreThreshold" help="The minimum number of discordant mate pair alignments supporting the junction from background genomes"/>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
40 <param name="distance" type="text" value="200" label="Maximum distance between coordinates of potentially compatible junctions."/>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
41 <param name="minlength" type="text" value="500" label="Minimum deletion junctions length to be included into the difference file."/>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
42 <param name="report" type="select" label="Generate report file?">
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
43 <option value="N" selected="true"> No </option>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
44 <option value="Y"> Yes </option>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
45 </param>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
46 <param name="fname" type="text" value="" label="Prefix for your output file" help="Optional"/>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
47 </inputs>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
48
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
49 <outputs>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
50 <data format="tabular" name="output_filtered" label="${fname} Filtered junctions for ${tool.name} on ${on_string}"/>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
51 <data format="tabular" name="output_report" from_work_dir= "output_reports.tsv" label="${fname} report for ${tool.name} on ${on_string}">
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
52 <filter> report == "Y" </filter>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
53 </data>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
54 </outputs>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
55
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
56 <help>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
57 **What it does**
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
58
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
59
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
60
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
61 **Input Files**
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
62 Complete Genomics Junctions file
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
63
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
64 **Output Files**
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
65 Junctions remaining after filtering
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
66
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
67
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
68 </help>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
69
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
70 </tool>
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
71
1209f18a5a83 Uploaded
saskia-hiltemann
parents:
diff changeset
72