annotate GetHaplotypesFromPhasedVCF/getHaplotypesFromPhasedVCF.xml @ 11:15b23cdde685 draft

planemo upload commit 305985afd3b7c3d47f531149c2f1a279af2d12aa-dirty
author dereeper
date Fri, 20 Apr 2018 09:04:25 -0400
parents c6640c49fd01
children 88748d846a20
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
c6640c49fd01 planemo upload commit 475f4d7d8442a0d75e103af326ae5881c4d2a4ac
dereeper
parents: 6
diff changeset
1 <tool id="getHaplotypesFromPhasedVCF" name="Get Haplotypes From Phased VCF" version="2.0.0">
c6640c49fd01 planemo upload commit 475f4d7d8442a0d75e103af326ae5881c4d2a4ac
dereeper
parents: 6
diff changeset
2 <description>Get Haplotypes From Phased VCF</description>
c6640c49fd01 planemo upload commit 475f4d7d8442a0d75e103af326ae5881c4d2a4ac
dereeper
parents: 6
diff changeset
3
6
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
4 <requirements>
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
5 <requirement type="binary">perl</requirement>
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
6 </requirements>
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
7 <stdio>
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
8 <exit_code range="1:" />
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
9 </stdio>
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
10 <command interpreter="perl">
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
11 GetHaplotypesFromPhasedVCF.pl $input $output_label &amp;&amp; mv ${output_label}.distinct_haplotypes.txt $output_distinct &amp;&amp; mv ${output_label}.haplo.fas $output_haplo
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
12 </command>
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
13 <inputs>
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
14 <param type="data" name="input" format="vcf" label="Phased VCF" />
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
15 <param type="text" name="output_label" label="Output_label" value='Haplotypes' />
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
16 </inputs>
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
17 <outputs>
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
18 <data name="output_distinct" format="txt" label="${output_label}.distinct_haplotypes.txt"/>
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
19 <data name="output_haplo" format="fasta" label="${output_label}.haplo.fas"/>
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
20 </outputs>
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
21 <tests>
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
22 <test>
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
23 <param name="input" value="getHaplotypesFromPhasedVCF-input.vcf"/>
10
c6640c49fd01 planemo upload commit 475f4d7d8442a0d75e103af326ae5881c4d2a4ac
dereeper
parents: 6
diff changeset
24 <output name="output_distinct" file="getHaplotypesFromPhasedVCF-result.distinct_haplotypes.txt" compare="sim_size" delta="0"/>
c6640c49fd01 planemo upload commit 475f4d7d8442a0d75e103af326ae5881c4d2a4ac
dereeper
parents: 6
diff changeset
25 <output name="output_haplo" file="getHaplotypesFromPhasedVCF-result.haplo.fas" compare="sim_size" delta="0"/>
6
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
26 </test>
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
27 </tests>
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
28 <help><![CDATA[
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
29
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
30 .. class:: infomark
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
31
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
32 **Authors** Dereeper Alexis (alexis.dereeper@ird.fr), IRD, South Green platform
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
33
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
34 | **Please cite** "SNiPlay3: a web-based application for exploration and large scale analyses of genomic variations", **Dereeper A. et al.**, Nucl. Acids Res. (1 july 2015) 43 (W1).
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
35
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
36 .. class:: infomark
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
37
10
c6640c49fd01 planemo upload commit 475f4d7d8442a0d75e103af326ae5881c4d2a4ac
dereeper
parents: 6
diff changeset
38 **Galaxy integration** Provided by Southgreen & Andres Gwendoline (Institut Français de Bioinformatique) & Marcon Valentin (IFB & INRA)
6
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
39
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
40 .. class:: infomark
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
41
10
c6640c49fd01 planemo upload commit 475f4d7d8442a0d75e103af326ae5881c4d2a4ac
dereeper
parents: 6
diff changeset
42 **Support** For any questions about Galaxy integration, please send an e-mail to alexis.dereeper@ird.fr
6
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
43
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
44 ---------------------------------------------------
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
45
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
46 ==============================
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
47 Get Haplotypes From Phased VCF
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
48 ==============================
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
49
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
50 -----------
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
51 Description
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
52 -----------
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
53
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
54 | Get Haplotype from phased VCF
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
55
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
56 ----------
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
57 Input file
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
58 ----------
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
59
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
60 VCF file
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
61 Phased VCF file
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
62
10
c6640c49fd01 planemo upload commit 475f4d7d8442a0d75e103af326ae5881c4d2a4ac
dereeper
parents: 6
diff changeset
63 ---------
c6640c49fd01 planemo upload commit 475f4d7d8442a0d75e103af326ae5881c4d2a4ac
dereeper
parents: 6
diff changeset
64 Parameter
c6640c49fd01 planemo upload commit 475f4d7d8442a0d75e103af326ae5881c4d2a4ac
dereeper
parents: 6
diff changeset
65 ---------
6
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
66
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
67 Output file basename
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
68 Prefix for the output VCF file
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
69
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
70 ------------
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
71 Output files
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
72 ------------
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
73
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
74
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
75 Text file
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
76 File describing haplotypes
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
77
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
78 Fasta file
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
79 Fasta file with haplotypes
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
80
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
81 ---------------------------------------------------
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
82
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
83 ---------------
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
84 Working example
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
85 ---------------
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
86
10
c6640c49fd01 planemo upload commit 475f4d7d8442a0d75e103af326ae5881c4d2a4ac
dereeper
parents: 6
diff changeset
87 Input file
c6640c49fd01 planemo upload commit 475f4d7d8442a0d75e103af326ae5881c4d2a4ac
dereeper
parents: 6
diff changeset
88 ==========
6
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
89
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
90 VCF file
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
91 ---------
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
92
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
93 ::
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
94
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
95 #fileformat=VCFv4.1
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
96 #FILTER=&lt;ID=LowQual,Description="Low quality">
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
97 #FORMAT=&lt;ID=AD,Number=.,Type=Integer,Description="Allelic depths for the ref and alt alleles in the order listed">
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
98 [...]
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
99 CHROM POS ID REF ALT QUAL FILTER INFO FORMAT AZUCENA
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
100 Chr1 4299 . G A . PASS AR2=1;DR2=1;AF=0.168 GT:DS:GP 0|0:0:1,0,0
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
101
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
102
10
c6640c49fd01 planemo upload commit 475f4d7d8442a0d75e103af326ae5881c4d2a4ac
dereeper
parents: 6
diff changeset
103 Parameter
c6640c49fd01 planemo upload commit 475f4d7d8442a0d75e103af326ae5881c4d2a4ac
dereeper
parents: 6
diff changeset
104 =========
6
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
105
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
106 Output name -> haplotypes
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
107
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
108
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
109 Output files
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
110 ============
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
111
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
112 haplotypes.distinct_haplotypes.txt
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
113 ----------------------------------
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
114
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
115 ::
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
116
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
117 ===Chr10===
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
118 haplo1:2:CIRAD403_1,CIRAD403_2,
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
119 TTTAAGAAATTCCTATATAGGTCTTCTAAGCGTATCTATTAACAT
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
120 haplo2:2:MAHAE_1,MAHAE_2,
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
121 TAAATCTTGGTGCTGATCTGATATTTAATGCGT
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
122
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
123
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
124 haplotypes.haplo.fas
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
125 --------------------
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
126
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
127 ::
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
128
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
129 >Chr10_AZUCENA_1
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
130 TTTAAGAAATTCCTATATAGGTCTTCTAAGCGTATCTATTAACAT
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
131 >Chr10_AZUCENA_2
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
132 TAAATCTTGGTGCTGATCTGATATTTAATGCGT
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
133
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
134 ]]></help>
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
135 <citations>
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
136 <!-- [HELP] As DOI or BibTex entry -->
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
137 <citation type="bibtex">@article{Dereeper03062015,
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
138 author = {Dereeper, Alexis and Homa, Felix and Andres, Gwendoline and Sempere, Guilhem and Sarah, Gautier and Hueber, Yann and Dufayard, Jean-François and Ruiz, Manuel},
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
139 title = {SNiPlay3: a web-based application for exploration and large scale analyses of genomic variations},
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
140 year = {2015},
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
141 doi = {10.1093/nar/gkv351},
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
142 abstract ={SNiPlay is a web-based tool for detection, management and analysis of genetic variants including both single nucleotide polymorphisms (SNPs) and InDels. Version 3 now extends functionalities in order to easily manage and exploit SNPs derived from next generation sequencing technologies, such as GBS (genotyping by sequencing), WGRS (whole gre-sequencing) and RNA-Seq technologies. Based on the standard VCF (variant call format) format, the application offers an intuitive interface for filtering and comparing polymorphisms using user-defined sets of individuals and then establishing a reliable genotyping data matrix for further analyses. Namely, in addition to the various scaled-up analyses allowed by the application (genomic annotation of SNP, diversity analysis, haplotype reconstruction and network, linkage disequilibrium), SNiPlay3 proposes new modules for GWAS (genome-wide association studies), population stratification, distance tree analysis and visualization of SNP density. Additionally, we developed a suite of Galaxy wrappers for each step of the SNiPlay3 process, so that the complete pipeline can also be deployed on a Galaxy instance using the Galaxy ToolShed procedure and then be computed as a Galaxy workflow. SNiPlay is accessible at http://sniplay.southgreen.fr.},
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
143 URL = {http://nar.oxfordjournals.org/content/early/2015/06/03/nar.gkv351.abstract},
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
144 eprint = {http://nar.oxfordjournals.org/content/early/2015/06/03/nar.gkv351.full.pdf+html},
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
145 journal = {Nucleic Acids Research}
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
146 }
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
147
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
148 }</citation>
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
149
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
150 </citations>
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
151
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
152 </tool>