annotate pindel.xml @ 0:dd513c72ea56 draft

planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
author portiahollyoak
date Tue, 17 May 2016 04:47:23 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
1 <tool id ="pindel" name="Pindel" version="0.2.5b8">
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
2 <description></description>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
3 <requirements>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
4 <requirement type="package" version="0.2.5b8">pindel</requirement>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
5 </requirements>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
6 <stdio>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
7 <exit_code range="1:" />
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
8 </stdio>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
9 <command><![CDATA[
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
10 ln -f -s "$input_file.metadata.bam_index" alignment.sorted.bam.bai &&
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
11 ln -f -s "$input_file" alignment.sorted.bam &&
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
12 ln -f -s "$reference" ref.fa &&
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
13 samtools faidx ref.fa &&
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
14 python $__tool_directory__/create_config_file.py
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
15 --input_file alignment.sorted.bam
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
16 --insert_size "$insert_size"
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
17 --sample_label "$input_file.element_identifier"
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
18 --output_config_file output_config_file &&
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
19 pindel
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
20 -f ref.fa
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
21 -i output_config_file
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
22 -c "$chromosome"
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
23 -o prefix &&
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
24 mv prefix_D $Deletions &&
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
25 mv prefix_SI $Short_Insertions &&
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
26 mv prefix_LI $Long_Insertions &&
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
27 mv prefix_INV $Inversions &&
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
28 mv prefix_TD $Tandem_Duplications &&
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
29 mv prefix_RP $Read_Pair &&
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
30 mv prefix_INT_final $INT_final &&
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
31 mv prefix_CloseEndMapped $Close_End_Mapped
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
32 ]]></command>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
33 <inputs>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
34 <param format="bam" name="input_file" type="data" label="One or more BAM alignment files produced by BWA"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
35 <param name="insert_size" type="integer" value="" label="Expected Insert size" />
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
36 <param format="fasta" name="reference" type="data" label="Reference genome in fasta format"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
37 <param name="chromosome" type="text" value="ALL" help="Select a chromsome. ALL will use all chromosomes"
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
38 label="Which chromosome to operate on"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
39 </inputs>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
40 <outputs>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
41 <data format="txt" name="Deletions" type="data" label="${input_file.element_identifier} Deletions"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
42 <data format="txt" name="Short_Insertions" type="data" label="${input_file.element_identifier} Short Insertions"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
43 <data format="txt" name="Long_Insertions" type="data" label="${input_file.element_identifier} Long Insertions"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
44 <data format="txt" name="Inversions" type="data" label="${input_file.element_identifier} Inversions"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
45 <data format="txt" name="Tandem_Duplications" type="data" label="${input_file.element_identifier} Tandom Duplications"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
46 <data format="txt" name="Breakpoints" type="data" label="${input_file.element_identifier} Breakpoints"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
47 <data format="txt" name="Read_Pair" type="data" label="${input_file.element_identifier} Read Pair Evidence"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
48 <data format="txt" name="INT_final" type="data" label="${input_file.element_identifier} INT_final"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
49 <data format="txt" name="Close_End_Mapped" type="data" label="${input_file.element_identifier} Close End Mapped"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
50 </outputs>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
51 <tests>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
52 <test>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
53 <param name="input_file" value="X_100000_Hum1.bam" ftype="bam"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
54 <param name="insert_size" value="250"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
55 <param name="reference" value="dm6.fa" ftype="fasta"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
56 <param name="chromosome" value="ALL"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
57 <output name="Deletions" file="X_100000_Hum1.bam_Deletions" ftype="txt"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
58 <output name="Short_Insertions" file="X_100000_Hum1.bam_Short_Insertions" ftype="txt"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
59 <output name="Long_Insertions" file="X_100000_Hum1.bam_Long_Insertions" ftype="txt"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
60 <output name="Inversions" file="X_100000_Hum1.bam_Inversions" ftype="txt"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
61 <output name="Tandem_Duplications" file="X_100000_Hum1.bam_Tandem_Duplications" ftype="txt"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
62 <output name="Breakpoints" file="X_100000_Hum1.bam_Breakpoints" ftype="txt"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
63 <output name="Read_Pair" file="X_100000_Hum1.bam_Read_Pair_Evidence" ftype="txt"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
64 <output name="INT_Final" file="X_100000_Hum1.bam_INT_final" ftype="txt"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
65 <output name="Close_End_Mapped" file="X_100000_Hum1.bam_Close_End_Mapped" ftype="txt"/>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
66 </test>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
67 </tests>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
68 <help> <![CDATA[
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
69
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
70 Pindel can detect breakpoints of large deletions, medium sized insertions, inversions, tandem duplications and other structural variants at single-based resolution from next-generation sequencing data. It uses a pattern growth approach to identify the breakpoints of these variants from paired-end short reads.
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
71
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
72 The following inputs/parameters are required:
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
73 - One or more BAM alignment files produced by BWA
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
74 - Expected Insert Size for each alignment file
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
75 - Sample label for each alignment file
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
76 - Reference genome in fasta format (same one used in alignment)
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
77 - Which chromosome to operate on
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
78
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
79 The following output files are produced by Pindel:
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
80 - Deletions
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
81 - Short Insertions
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
82 - Long Insertions
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
83 - Inversions
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
84 - Tandom Duplications
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
85 - Breakpoints
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
86 - Read Pair Evidence
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
87 - INT_final
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
88 - Close End Mapped
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
89
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
90 ]]> </help>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
91 <citations>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
92 <citation type="doi">doi:10.1093/bioinformatics/btp394</citation>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
93 </citations>
dd513c72ea56 planemo upload for repository https://github.com/portiahollyoak/Tools commit 1f1c277219ca756c9baa453592b455597fd593d8-dirty
portiahollyoak
parents:
diff changeset
94 </tool>