annotate DC_Genotyper.xml @ 18:93f4d7524823 draft

Uploaded
author geert-vandeweyer
date Mon, 29 Sep 2014 04:00:18 -0400
parents 36cc147395ad
children 8938f339ed37
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
36cc147395ad Uploaded
geert-vandeweyer
parents: 13
diff changeset
1 <tool id="DC_Genotyper" name="DC Genotyper" version='0.0.2'>
11
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
2 <description></description>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
3 <requirements>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
4 <requirement type='package' version='3.0.2'>R_3_0_2</requirement>
13
08c4fb95c3a9 changed dep to samtools .19 to include bcftools
geert-vandeweyer
parents: 11
diff changeset
5 <requirement type='package' version='0.1.19'>samtools</requirement>
11
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
6 <requirement type='package' version='0.2.6'>tabix</requirement>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
7 <requirement type='package' version='latest'>blat_server</requirement>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
8 <requirement type='package' version='1.92'>perl_module_threads</requirement>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
9 <requirement type='package' version='1.46'>perl_module_threads_shared</requirement>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
10 <requirement type='package' version='3.02'>perl_module_Thread_Queue</requirement>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
11 <requirement type='package' version='2.3.32'>igvtools</requirement>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
12 </requirements>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
13 <command interpreter="perl">DC_Genotyper.pl
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
14 -t "$targets"
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
15 -b "$bamfile"
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
16 -R "${ref.fields.path}"
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
17 -p "\${GALAXY_SLOTS:-4}"
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
18 #if $dbsnp.source == "history":
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
19 -s "${dbsnp.ownFile}"
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
20 #else
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
21 -s "${dbsnp.indices.fields.path}"
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
22 #end if
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
23 -m $mincov
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
24 -P $ploidy
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
25
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
26 -a $output1
18
93f4d7524823 Uploaded
geert-vandeweyer
parents: 15
diff changeset
27 -v $output2
93f4d7524823 Uploaded
geert-vandeweyer
parents: 15
diff changeset
28 -d $output3
11
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
29 </command>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
30
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
31 <inputs>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
32 <param name="bamfile" type="data" format="bam" label="Sample BAM file" />
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
33 <param name="targets" type="data" format="bed" label="Enrichment BED file" />
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
34 <param name="ref" type="select" label="Select a reference genome">
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
35 <options from_data_table="DC_Genotyper_indexes">
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
36 <filter type="sort_by" column="2" />
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
37 <validator type="no_options" message="No indexes are available" />
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
38 </options>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
39 </param>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
40 <conditional name="dbsnp">
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
41 <param name="source" type="select" label="Will you select a dbSNP file from your history, or use a built in version (which is faster)">
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
42 <option value="indexed">Use a built-in version</option>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
43 <option value="history">Use one from the history</option>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
44 </param>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
45 <when value="indexed">
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
46 <param name="indices" type="select" label="Select a dbSNP version">
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
47 <options from_data_table="dbsnp_indexes">
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
48 <filter type="sort_by" column="2" />
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
49 <validator type="no_options" message="No indexes are available" />
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
50 </options>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
51 </param>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
52 </when>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
53 <when value="history">
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
54 <param name="ownFile" type="data" format="vcf,bcf" label="Select a dbSNP file from history"/>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
55 </when>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
56 </conditional>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
57 <param name="mincov" value="400" type="integer" label="Minimal Coverage Depth" />
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
58 <param name="ploidy" type="integer" value='10' label="Expected Sample Ploidy" />
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
59 </inputs>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
60
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
61 <outputs>
18
93f4d7524823 Uploaded
geert-vandeweyer
parents: 15
diff changeset
62 <data format='txt' name="output1" label="${tool.name} on ${on_string}: Allele Fraction Distributions (TXT)"/>
93f4d7524823 Uploaded
geert-vandeweyer
parents: 15
diff changeset
63 <data format='pdf' name="output3" lable="${tool.name} on ${on_string}: Allele Fraction Distributions (PDF)"/>
11
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
64 <data format='vcf' name='output2' label="${tool.name} on ${on_string}: VCF file" />
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
65 </outputs>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
66 <help>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
67
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
68 **What it does**
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
69
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
70 1. get allele counts on all positions in specified targets (bed) using igvtools. Only SNPs !!
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
71 2. remove known dbsnp positions (bcf file)
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
72 3. Get distribution of background noise (pcr/sequencing errors), by modelling allele fractions as normal distributions.
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
73 4. Based on these distributions, check each position for significant change from the reference allele (based on allele fraction)
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
74 5. For abberant positions, check each alternate allele to see if it passes the background signal.
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
75 6. Generate VCF file.
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
76
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
77
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
78 **Information**
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
79
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
80 This tools is created by Geert Vandeweyer. It is a very early version with several limitations. Current limitations are : no support for indels, no plotting of the noise-models, incorrect syntax in for multi-allelic sites in the VCF file.
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
81
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
82 Any feedback is welcome.
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
83
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
84 </help>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
85 </tool>