annotate DC_Genotyper.xml @ 12:8cc26598eeac draft

Uploaded
author geert-vandeweyer
date Sat, 27 Sep 2014 05:49:23 -0400
parents 845a87ad254a
children 08c4fb95c3a9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
1 <tool id="DC_Genotyper" name="DC Genotyper" version='0.0.1'>
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>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
5 <requirement type='package' version='0.1.18'>samtools</requirement>
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
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
27 -v $output2
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
28 </command>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
29
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
30 <inputs>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
31 <param name="bamfile" type="data" format="bam" label="Sample BAM file" />
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
32 <param name="targets" type="data" format="bed" label="Enrichment BED file" />
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
33 <param name="ref" type="select" label="Select a reference genome">
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
34 <options from_data_table="DC_Genotyper_indexes">
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
35 <filter type="sort_by" column="2" />
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
36 <validator type="no_options" message="No indexes are available" />
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
37 </options>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
38 </param>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
39 <conditional name="dbsnp">
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
40 <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
41 <option value="indexed">Use a built-in version</option>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
42 <option value="history">Use one from the history</option>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
43 </param>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
44 <when value="indexed">
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
45 <param name="indices" type="select" label="Select a dbSNP version">
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
46 <options from_data_table="dbsnp_indexes">
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
47 <filter type="sort_by" column="2" />
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
48 <validator type="no_options" message="No indexes are available" />
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
49 </options>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
50 </param>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
51 </when>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
52 <when value="history">
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
53 <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
54 </when>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
55 </conditional>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
56 <param name="mincov" value="400" type="integer" label="Minimal Coverage Depth" />
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
57 <param name="ploidy" type="integer" value='10' label="Expected Sample Ploidy" />
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
58 </inputs>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
59
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
60 <outputs>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
61 <data format='txt' name="output1" label="${tool.name} on ${on_string}: Allele Fraction Distributions"/>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
62 <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
63 </outputs>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
64 <help>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
65
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
66 **What it does**
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 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
69 2. remove known dbsnp positions (bcf file)
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
70 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
71 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
72 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
73 6. Generate VCF file.
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
74
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
75
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
76 **Information**
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 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
79
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
80 Any feedback is welcome.
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 </help>
845a87ad254a re-upload, accidentally removed some files
geert-vandeweyer
parents:
diff changeset
83 </tool>