annotate deletion_predictor.xml @ 24:3accdbe6503b draft default tip

Deleted selected files
author wolma
date Thu, 21 Jul 2016 03:56:19 -0400
parents 5db0545b9004
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23
5db0545b9004 update to v0.1.7.3
wolma
parents: 21
diff changeset
1 <tool id="deletion_prediction" name="Deletion Prediction for paired-end data" version="0.1.7.3">
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
2 <description>Predicts deletions in one or more aligned read samples based on coverage of the reference genome and on insert sizes</description>
2
72d20758ba2c final upload
wolma
parents: 1
diff changeset
3 <macros>
72d20758ba2c final upload
wolma
parents: 1
diff changeset
4 <import>toolshed_macros.xml</import>
72d20758ba2c final upload
wolma
parents: 1
diff changeset
5 </macros>
23
5db0545b9004 update to v0.1.7.3
wolma
parents: 21
diff changeset
6 <expand macro="requirements" />
21
c46406466625 Uploaded
wolma
parents: 9
diff changeset
7 <version_command>python3 -m MiModD version -q</version_command>
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
8 <command>
21
c46406466625 Uploaded
wolma
parents: 9
diff changeset
9 python3 -m MiModD delcall
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
10 #for $l in $list_input
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
11 "${l.bamfile}"
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
12 #end for
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
13 "$covfile" -o "$outputfile"
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
14 --max-cov "$max_cov" --min-size "$min_size" $include_uncovered $group_by_id --verbose
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
15 </command>
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
16
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
17 <inputs>
23
5db0545b9004 update to v0.1.7.3
wolma
parents: 21
diff changeset
18 <repeat default="1" min="1" name="list_input" title="Aligned reads input source">
5db0545b9004 update to v0.1.7.3
wolma
parents: 21
diff changeset
19 <param format="bam" label="input BAM file" name="bamfile" type="data" />
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
20 </repeat>
23
5db0545b9004 update to v0.1.7.3
wolma
parents: 21
diff changeset
21 <param format="bcf" help="Use the Variant Calling tool to generate this file." label="BCF variant call file to extract coverage from" name="covfile" type="data" />
5db0545b9004 update to v0.1.7.3
wolma
parents: 21
diff changeset
22 <param checked="false" falsevalue="" help="If selected, reads from different read groups will be treated strictly separate. If turned off, read groups with identical sample names are used together for identifying uncovered regions, but are still treated separately for the prediction of deletions." label="group reads based on read group id only" name="group_by_id" truevalue="-i" type="boolean" />
5db0545b9004 update to v0.1.7.3
wolma
parents: 21
diff changeset
23 <param checked="false" falsevalue="" help="If selected, regions that fulfill the coverage criteria below, but are not statistically significant deletions, will be included in the output." label="include low-coverage regions" name="include_uncovered" truevalue="-u" type="boolean" />
5db0545b9004 update to v0.1.7.3
wolma
parents: 21
diff changeset
24 <param help="The maximal coverage at a site allowed to consider it as part of a low-coverage region" label="maximal coverage allowed inside a low-coverage region (default: 0)" name="max_cov" type="integer" value="0" />
5db0545b9004 update to v0.1.7.3
wolma
parents: 21
diff changeset
25 <param help="A low-coverage region must consist of at least this number of consecutive bases below the maximal coverage to consider it in further analyses." label="minimal deletion size (default: 100)" name="min_size" type="integer" value="100" />
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
26 </inputs>
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
27
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
28 <outputs>
23
5db0545b9004 update to v0.1.7.3
wolma
parents: 21
diff changeset
29 <data format="gff" name="outputfile" />
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
30 </outputs>
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
31
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
32 <help>
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
33 .. class:: infomark
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
34
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
35 **What it does**
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
36
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
37 The tool predicts deletions from paired-end data in a two-step process:
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
38
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
39 1) It finds regions of low-coverage, i.e., candidate regions for deletions, by scanning a BCF file produced by the *Variant Calling* tool.
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
40
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
41 The *maximal coverage allowed inside a low-coverage region* and the *minimal deletion size* parameters are used at this step to define what is considered a low-coverage region.
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
42
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
43 .. class:: warningmark
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
44
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
45 The tool treats genome positions missing from the BCF input as zero coverage, so it is safe to use ONLY with BCF files produced by the *Variant Calling* tool or through other commands that keep the information for all sites.
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
46
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
47 2) It assesses every low-coverage region statistically for evidence of it being a real deletion. **This step requires paired-end data** since it relies on shifts in the distribution of read pair insert sizes around real deletions.
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
48
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
49 By default, the tool only reports Deletions, i.e., the subset of low-coverage regions that pass the statistical test.
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
50 If *include low-coverage regions* is selected, regions that failed the test will also be reported.
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
51
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
52 With *group reads based on read group id only* selected, as it is by default, grouping of reads into samples is done strictly based on their read group IDs.
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
53 With the option deselected, grouping is done based on sample names in the first step of the analysis, i.e. the reads of all samples with a shared sample name are used to identify low-coverage regions.
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
54 In the second step, however, reads will be regrouped by their read group IDs again, i.e. the statistical assessment for real deletions is always done on a per read group basis.
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
55
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
56 **TIP:**
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
57 Deselecting *group reads based on read group id only* can be useful, for example, if you have both paired-end and single-end sequencing data for the same sample.
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
58
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
59 In this case, the two sets of reads will usually share a common sample name, but differ in their read groups.
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
60 With grouping based on sample names, the single-end data can be used together with the paired-end data to identify low-coverage regions, thus increasing overall coverage and reliability of this step.
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
61 Still, the assessment of deletions will use only the paired-end data (auto-detecting that the single-end reads do not provide insert size information).
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
62
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
63 </help>
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
64
23
5db0545b9004 update to v0.1.7.3
wolma
parents: 21
diff changeset
65 </tool>