annotate pindelwrapper.xml @ 1:374bb08157ca draft default tip

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