Debian Codegraph @

doc/programs/html/variationget.html

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <TITLE>
4 EMBOSS: variationget
5 </TITLE>
6 </HEAD>
7 <BODY BGCOLOR="#FFFFFF" text="#000000">
8
9 <table align=center border=0 cellspacing=0 cellpadding=0>
10 <tr><td valign=top>
11 <A HREF="/" ONMOUSEOVER="self.status='Go to the EMBOSS home page';return true"><img border=0 src="/images/emboss_icon.jpg" alt="" width=150 height=48></a>
12 </td>
13 <td align=left valign=middle>
14 <b><font size="+6">
15 variationget
16 </font></b>
17 </td></tr>
18 </table>
19 <br>&nbsp;
20 <p>
21
22
23 <H2>
24 Wiki
25 </H2>
26
27 The master copies of EMBOSS documentation are available
28 at <a href="http://emboss.open-bio.org/wiki/Appdocs">
29 http://emboss.open-bio.org/wiki/Appdocs</a>
30 on the EMBOSS Wiki.
31
32 <p>
33 Please help by correcting and extending the Wiki pages.
34
35 <H2>
36 Function
37 </H2>
38 Get sequence variations
39 <!--
40 DON'T WRITE ANYTHING HERE.
41 IT IS DONE FOR YOU.
42 -->
43
44
45
46
47 <H2>
48 Description
49 </H2>
50
51 <b>variationget</b> reads sequence variation data and writes the data in one
52 of the EMBOSS variation output formats.
53
54
55 <H2>
56 Usage
57 </H2>
58
59 <!--
60 Example usage, as run from the command-line.
61 Many examples illustrating different behaviours is good.
62 -->
63
64 Here is a sample session with <b>variationget</b>
65 <p>
66
67 <p>
68 <table width="90%"><tr><td bgcolor="#CCFFFF"><pre>
69
70 % <b>variationget valid-4.0.vcf </b>
71 Get sequence variations
72 Variation output file [0.vcf]: <b>test.vcf</b>
73
74 </pre></td></tr></table><p>
75 <p>
76 <a href="#input.1">Go to the input files for this example</a><br><a href="#output.1">Go to the output files for this example</a><p><p>
77
78
79
80 <H2>
81 Command line arguments
82 </H2>
83
84 <table CELLSPACING=0 CELLPADDING=3 BGCOLOR="#f5f5ff" ><tr><td>
85 <pre>
86 Get sequence variations
87 Version: EMBOSS:6.6.0.0
88
89 Standard (Mandatory) qualifiers:
90 [-variation] variation Variation filename and optional format, or
91 reference (input query)
92 [-outfile] outvariation (no help text) outvariation value
93
94 Additional (Optional) qualifiers: (none)
95 Advanced (Unprompted) qualifiers: (none)
96 Associated qualifiers:
97
98 "-variation" associated qualifiers
99 -iformat1 string Input variation format
100 -iquery1 string Input query fields or ID list
101 -ioffset1 integer Input start position offset
102 -idbname1 string User-provided database name
103
104 "-outfile" associated qualifiers
105 -odirectory2 string Output directory
106 -oformat2 string Variation output format
107
108 General qualifiers:
109 -auto boolean Turn off prompts
110 -stdout boolean Write first file to standard output
111 -filter boolean Read first file from standard input, write
112 first file to standard output
113 -options boolean Prompt for standard and additional values
114 -debug boolean Write debug output to program.dbg
115 -verbose boolean Report some/full command line options
116 -help boolean Report command line options and exit. More
117 information on associated and general
118 qualifiers can be found with -help -verbose
119 -warning boolean Report warnings
120 -error boolean Report errors
121 -fatal boolean Report fatal errors
122 -die boolean Report dying program messages
123 -version boolean Report version number and exit
124
125 </pre>
126 </td></tr></table>
127 <P>
128 <table border cellspacing=0 cellpadding=3 bgcolor="#ccccff">
129 <tr bgcolor="#FFFFCC">
130 <th align="left">Qualifier</th>
131 <th align="left">Type</th>
132 <th align="left">Description</th>
133 <th align="left">Allowed values</th>
134 <th align="left">Default</th>
135 </tr>
136
137 <tr bgcolor="#FFFFCC">
138 <th align="left" colspan=5>Standard (Mandatory) qualifiers</th>
139 </tr>
140
141 <tr bgcolor="#FFFFCC">
142 <td>[-variation]<br>(Parameter 1)</td>
143 <td>variation</td>
144 <td>Variation filename and optional format, or reference (input query)</td>
145 <td>Variation entries</td>
146 <td>&nbsp;</td>
147 </tr>
148
149 <tr bgcolor="#FFFFCC">
150 <td>[-outfile]<br>(Parameter 2)</td>
151 <td>outvariation</td>
152 <td>(no help text) outvariation value</td>
153 <td>Variation entries</td>
154 <td>&nbsp;</td>
155 </tr>
156
157 <tr bgcolor="#FFFFCC">
158 <th align="left" colspan=5>Additional (Optional) qualifiers</th>
159 </tr>
160
161 <tr>
162 <td colspan=5>(none)</td>
163 </tr>
164
165 <tr bgcolor="#FFFFCC">
166 <th align="left" colspan=5>Advanced (Unprompted) qualifiers</th>
167 </tr>
168
169 <tr>
170 <td colspan=5>(none)</td>
171 </tr>
172
173 <tr bgcolor="#FFFFCC">
174 <th align="left" colspan=5>Associated qualifiers</th>
175 </tr>
176
177 <tr bgcolor="#FFFFCC">
178 <td align="left" colspan=5>"-variation" associated variation qualifiers
179 </td>
180 </tr>
181
182 <tr bgcolor="#FFFFCC">
183 <td> -iformat1<br>-iformat_variation</td>
184 <td>string</td>
185 <td>Input variation format</td>
186 <td>Any string</td>
187 <td>&nbsp;</td>
188 </tr>
189
190 <tr bgcolor="#FFFFCC">
191 <td> -iquery1<br>-iquery_variation</td>
192 <td>string</td>
193 <td>Input query fields or ID list</td>
194 <td>Any string</td>
195 <td>&nbsp;</td>
196 </tr>
197
198 <tr bgcolor="#FFFFCC">
199 <td> -ioffset1<br>-ioffset_variation</td>
200 <td>integer</td>
201 <td>Input start position offset</td>
202 <td>Any integer value</td>
203 <td>0</td>
204 </tr>
205
206 <tr bgcolor="#FFFFCC">
207 <td> -idbname1<br>-idbname_variation</td>
208 <td>string</td>
209 <td>User-provided database name</td>
210 <td>Any string</td>
211 <td>&nbsp;</td>
212 </tr>
213
214 <tr bgcolor="#FFFFCC">
215 <td align="left" colspan=5>"-outfile" associated outvariation qualifiers
216 </td>
217 </tr>
218
219 <tr bgcolor="#FFFFCC">
220 <td> -odirectory2<br>-odirectory_outfile</td>
221 <td>string</td>
222 <td>Output directory</td>
223 <td>Any string</td>
224 <td>&nbsp;</td>
225 </tr>
226
227 <tr bgcolor="#FFFFCC">
228 <td> -oformat2<br>-oformat_outfile</td>
229 <td>string</td>
230 <td>Variation output format</td>
231 <td>Any string</td>
232 <td>&nbsp;</td>
233 </tr>
234
235 <tr bgcolor="#FFFFCC">
236 <th align="left" colspan=5>General qualifiers</th>
237 </tr>
238
239 <tr bgcolor="#FFFFCC">
240 <td> -auto</td>
241 <td>boolean</td>
242 <td>Turn off prompts</td>
243 <td>Boolean value Yes/No</td>
244 <td>N</td>
245 </tr>
246
247 <tr bgcolor="#FFFFCC">
248 <td> -stdout</td>
249 <td>boolean</td>
250 <td>Write first file to standard output</td>
251 <td>Boolean value Yes/No</td>
252 <td>N</td>
253 </tr>
254
255 <tr bgcolor="#FFFFCC">
256 <td> -filter</td>
257 <td>boolean</td>
258 <td>Read first file from standard input, write first file to standard output</td>
259 <td>Boolean value Yes/No</td>
260 <td>N</td>
261 </tr>
262
263 <tr bgcolor="#FFFFCC">
264 <td> -options</td>
265 <td>boolean</td>
266 <td>Prompt for standard and additional values</td>
267 <td>Boolean value Yes/No</td>
268 <td>N</td>
269 </tr>
270
271 <tr bgcolor="#FFFFCC">
272 <td> -debug</td>
273 <td>boolean</td>
274 <td>Write debug output to program.dbg</td>
275 <td>Boolean value Yes/No</td>
276 <td>N</td>
277 </tr>
278
279 <tr bgcolor="#FFFFCC">
280 <td> -verbose</td>
281 <td>boolean</td>
282 <td>Report some/full command line options</td>
283 <td>Boolean value Yes/No</td>
284 <td>Y</td>
285 </tr>
286
287 <tr bgcolor="#FFFFCC">
288 <td> -help</td>
289 <td>boolean</td>
290 <td>Report command line options and exit. More information on associated and general qualifiers can be found with -help -verbose</td>
291 <td>Boolean value Yes/No</td>
292 <td>N</td>
293 </tr>
294
295 <tr bgcolor="#FFFFCC">
296 <td> -warning</td>
297 <td>boolean</td>
298 <td>Report warnings</td>
299 <td>Boolean value Yes/No</td>
300 <td>Y</td>
301 </tr>
302
303 <tr bgcolor="#FFFFCC">
304 <td> -error</td>
305 <td>boolean</td>
306 <td>Report errors</td>
307 <td>Boolean value Yes/No</td>
308 <td>Y</td>
309 </tr>
310
311 <tr bgcolor="#FFFFCC">
312 <td> -fatal</td>
313 <td>boolean</td>
314 <td>Report fatal errors</td>
315 <td>Boolean value Yes/No</td>
316 <td>Y</td>
317 </tr>
318
319 <tr bgcolor="#FFFFCC">
320 <td> -die</td>
321 <td>boolean</td>
322 <td>Report dying program messages</td>
323 <td>Boolean value Yes/No</td>
324 <td>Y</td>
325 </tr>
326
327 <tr bgcolor="#FFFFCC">
328 <td> -version</td>
329 <td>boolean</td>
330 <td>Report version number and exit</td>
331 <td>Boolean value Yes/No</td>
332 <td>N</td>
333 </tr>
334
335 </table>
336
337 <!--
338 DON'T WRITE ANYTHING HERE.
339 IT IS DONE FOR YOU.
340 -->
341
342
343
344
345
346
347
348
349 <H2>
350 Input file format
351 </H2>
352
353 <!--
354 This includes example input file formats.
355 This should be a detailed description and example - assume
356 someone will want to parse this file and will want to know what
357 happens in unusual cases - null input, etc.
358 -->
359
360 <b>variationget</b> reads sequence variation data.
361 <!-- #include file="inc/variationinformats.ihtml" -->
362
363 <p>
364
365
366 <a name="input.1"></a>
367 <h3>Input files for usage example </h3>
368 <p><h3>File: valid-4.0.vcf</h3>
369 <table width="90%"><tr><td bgcolor="#FFCCFF">
370 <pre>
371 ##fileformat=VCFv4.0
372 ##fileDate=20090805
373 ##source=myImputationProgramV3.1
374 ##reference=1000GenomesPilot-NCBI36
375 ##phasing=partial
376 ##INFO=&lt;ID=NS,Number=1,Type=Integer,Description="Number of Samples With Data"&gt;
377 ##INFO=&lt;ID=AN,Number=1,Type=Integer,Description="Total number of alleles in called genotypes"&gt;
378 ##INFO=&lt;ID=AC,Number=.,Type=Integer,Description="Allele count in genotypes, for each ALT allele, in the same order as listed"&gt;
379 ##INFO=&lt;ID=DP,Number=1,Type=Integer,Description="Total Depth"&gt;
380 ##INFO=&lt;ID=AF,Number=.,Type=Float,Description="Allele Frequency"&gt;
381 ##INFO=&lt;ID=AA,Number=1,Type=String,Description="Ancestral Allele"&gt;
382 ##INFO=&lt;ID=DB,Number=0,Type=Flag,Description="dbSNP membership, build 129"&gt;
383 ##INFO=&lt;ID=H2,Number=0,Type=Flag,Description="HapMap2 membership"&gt;
384 ##FILTER=&lt;ID=q10,Description="Quality below 10"&gt;
385 ##FILTER=&lt;ID=s50,Description="Less than 50% of samples have data"&gt;
386 ##FORMAT=&lt;ID=GT,Number=1,Type=String,Description="Genotype"&gt;
387 ##FORMAT=&lt;ID=GQ,Number=1,Type=Integer,Description="Genotype Quality"&gt;
388 ##FORMAT=&lt;ID=DP,Number=1,Type=Integer,Description="Read Depth"&gt;
389 ##FORMAT=&lt;ID=HQ,Number=2,Type=Integer,Description="Haplotype Quality"&gt;
390 ##ALT=&lt;ID=DEL:ME:ALU,Description="Deletion of ALU element"&gt;
391 ##ALT=&lt;ID=CNV,Description="Copy number variable region"&gt;
392 #CHROM POS ID REF ALT QUAL FILTER INFO FORMAT NA00001 NA00002 NA00003
393 19 111 . A C 9.6 . . GT:HQ 0|0:10,10 0|0:10,10 0/1:3,3
394 19 112 . A G 10 . . GT:HQ 0|0:10,10 0|0:10,10 0/1:3,3
395 20 14370 rs6054257 G A 29 PASS NS=3;DP=14;AF=0.5;DB;H2 GT:GQ:DP:HQ 0|0:48:1:51,51 1|0:48:8:51,51 1/1:43:5:.,.
396 20 17330 . T A 3 q10 NS=3;DP=11;AF=0.017 GT:GQ:DP:HQ 0|0:49:3:58,50 0|1:3:5:65,3 0/0:41:3:.,.
397 20 1110696 rs6040355 A G,T 67 PASS NS=2;DP=10;AF=0.333,0.667;AA=T;DB GT:GQ:DP:HQ 1|2:21:6:23,27 2|1:2:0:18,2 2/2:35:4:.,.
398 20 1230237 . T . 47 PASS NS=3;DP=13;AA=T GT:GQ:DP:HQ 0|0:54:.:56,60 0|0:48:4:51,51 0/0:61:2:.,.
399 20 1234567 microsat1 G GA,GAC 50 PASS NS=3;DP=9;AA=G;AN=6;AC=3,1 GT:GQ:DP 0/1:.:4 0/2:17:2 1/1:40:3
400 20 1235237 . T . . . . GT 0/0 0|0 ./.
401 X 9 . A T 12.1 . . GT 0 0/1 1/0
402 X 10 rsTest AC A,ATG 10 PASS . GT 0 0/1 0|2
403 X 11 rsTest2 T A,&lt;DEL:ME:ALU&gt; 10 q10;s50 . GT:DP:GQ .:3:10 ./. 0|2:3
404 X 12 . T A 13 . . GT 0 1/0 1/1
405 </pre>
406 </td></tr></table><p>
407
408
409
410
411
412 <H2>
413 Output file format
414 </H2>
415
416 <!-- #include file="inc/variationformats.ihtml" -->
417
418 <p>
419
420
421 <a name="output.1"></a>
422 <h3>Output files for usage example </h3>
423 <p><h3>File: test.vcf</h3>
424 <table width="90%"><tr><td bgcolor="#CCFFCC">
425 <pre>
426 ##fileformat=VCFv4.0
427 ##fileDate=20090805
428 ##source=myImputationProgramV3.1
429 ##reference=1000GenomesPilot-NCBI36
430 ##phasing=partial
431 ##INFO=&lt;ID=NS,Number=1,Type=Integer,Description="Number of Samples With Data"&gt;
432 ##INFO=&lt;ID=AN,Number=1,Type=Integer,Description="Total number of alleles in called genotypes"&gt;
433 ##INFO=&lt;ID=AC,Number=.,Type=Integer,Description="Allele count in genotypes, for each ALT allele, in the same order as listed"&gt;
434 ##INFO=&lt;ID=DP,Number=1,Type=Integer,Description="Total Depth"&gt;
435 ##INFO=&lt;ID=AF,Number=.,Type=Float,Description="Allele Frequency"&gt;
436 ##INFO=&lt;ID=AA,Number=1,Type=String,Description="Ancestral Allele"&gt;
437 ##INFO=&lt;ID=DB,Number=0,Type=Flag,Description="dbSNP membership, build 129"&gt;
438 ##INFO=&lt;ID=H2,Number=0,Type=Flag,Description="HapMap2 membership"&gt;
439 ##FORMAT=&lt;ID=GT,Number=1,Type=String,Description="Genotype"&gt;
440 ##FORMAT=&lt;ID=GQ,Number=1,Type=Integer,Description="Genotype Quality"&gt;
441 ##FORMAT=&lt;ID=DP,Number=1,Type=Integer,Description="Read Depth"&gt;
442 ##FORMAT=&lt;ID=HQ,Number=2,Type=Integer,Description="Haplotype Quality"&gt;
443 ##FILTER=&lt;ID=q10,Description="Quality below 10"&gt;
444 ##FILTER=&lt;ID=s50,Description="Less than 50% of samples have data"&gt;
445 ##ALT=&lt;ID=DEL:ME:ALU,Description="Deletion of ALU element"&gt;
446 ##ALT=&lt;ID=CNV,Description="Copy number variable region"&gt;
447 #CHROM POS ID REF ALT QUAL FILTER INFO FORMAT NA00001 NA00002 NA00003
448 19 111 . A C 9.6 . . GT:HQ 0|0:10,10 0|0:10,10 0/1:3,3
449 19 112 . A G 10 . . GT:HQ 0|0:10,10 0|0:10,10 0/1:3,3
450 20 14370 rs6054257 G A 29 PASS NS=3;DP=14;AF=0.5;DB;H2 GT:GQ:DP:HQ 0|0:48:1:51,51 1|0:48:8:51,51 1/1:43:5:.,.
451 20 17330 . T A 3 q10 NS=3;DP=11;AF=0.017 GT:GQ:DP:HQ 0|0:49:3:58,50 0|1:3:5:65,3 0/0:41:3:.,.
452 20 1110696 rs6040355 A G,T 67 PASS NS=2;DP=10;AF=0.333,0.667;AA=T;DB GT:GQ:DP:HQ 1|2:21:6:23,27 2|1:2:0:18,2 2/2:35:4:.,.
453 20 1230237 . T . 47 PASS NS=3;DP=13;AA=T GT:GQ:DP:HQ 0|0:54:.:56,60 0|0:48:4:51,51 0/0:61:2:.,.
454 20 1234567 microsat1 G GA,GAC 50 PASS NS=3;DP=9;AA=G;AN=6;AC=3,1 GT:GQ:DP 0/1:.:4 0/2:17:2 1/1:40:3
455 20 1235237 . T . . . . GT 0/0 0|0 ./.
456 X 9 . A T 12.1 . . GT 0 0/1 1/0
457 X 10 rsTest AC A,ATG 10 PASS . GT 0 0/1 0|2
458 X 11 rsTest2 T A,&lt;DEL:ME:ALU&gt; 10 q10;s50 . GT:DP:GQ .:3:10 ./. 0|2:3
459 X 12 . T A 13 . . GT 0 1/0 1/1
460 </pre>
461 </td></tr></table><p>
462
463
464
465
466
467 <H2>
468 Data files
469 </H2>
470
471 <!--
472 Any data files used (e.g. translation table file)
473 This includes example data file formats if they are
474 not obvious.
475
476 If you wish to include the standard description of what data
477 files are and how to use embossdata to inspect and retrieve
478 them, use:
479
480 #include file="inc/localfiles.ihtml"
481 -->
482
483 None.
484
485
486 <H2>
487 Notes
488 </H2>
489
490 <!--
491 Restrictions.
492 Interesting behaviour.
493 Useful things you can do with this program.
494 -->
495
496 None.
497
498
499
500
501
502
503
504 <H2>
505 References
506 </H2>
507
508 <!--
509 Bibliography for methods used.
510 <ol>
511
512 <li>
513
514 </ol>
515
516 -->
517
518 None.
519
520
521
522
523
524
525
526
527 <H2>
528 Warnings
529 </H2>
530
531 <!--
532 Potentially stupid things the program will let you do.
533 -->
534
535 None.
536
537
538
539
540
541
542
543 <H2>
544 Diagnostic Error Messages
545 </H2>
546
547 <!--
548 Error messages specific to this program, eg:
549 "FATAL xxx" - means you have not set up the xxx data using program <b>prog</b>.<p>
550 -->
551
552 None.
553
554
555
556
557
558
559
560 <H2>
561 Exit status
562 </H2>
563
564 <!--
565 Description of the exit status for various error conditions
566 -->
567
568 It always exits with status 0.
569
570
571
572
573
574
575
576
577 <H2>
578 Known bugs
579 </H2>
580
581
582 <!--
583 Bugs noted but not yet fixed.
584 -->
585
586 None.
587
588
589
590
591
592
593
594
595 <!--
596 <H2>
597 See also
598 </H2>
599 -->
600 <h2><a name="See also">See also</a></h2>
601 <table border cellpadding=4 bgcolor="#FFFFF0">
602 <tr><th>Program name</th>
603 <th>Description</th></tr>
604 <tr>
605 <td><a href="abiview.html">abiview</a></td>
606 <td>Display the trace in an ABI sequencer file</td>
607 </tr>
608
609 <tr>
610 <td><a href="coderet.html">coderet</a></td>
611 <td>Extract CDS, mRNA and translations from feature tables</td>
612 </tr>
613
614 <tr>
615 <td><a href="entret.html">entret</a></td>
616 <td>Retrieve sequence entries from flatfile databases and files</td>
617 </tr>
618
619 <tr>
620 <td><a href="extractalign.html">extractalign</a></td>
621 <td>Extract regions from a sequence alignment</td>
622 </tr>
623
624 <tr>
625 <td><a href="infoalign.html">infoalign</a></td>
626 <td>Display basic information about a multiple sequence alignment</td>
627 </tr>
628
629 <tr>
630 <td><a href="infoseq.html">infoseq</a></td>
631 <td>Display basic information about sequences</td>
632 </tr>
633
634 <tr>
635 <td><a href="refseqget.html">refseqget</a></td>
636 <td>Get reference sequence</td>
637 </tr>
638
639 <tr>
640 <td><a href="seqxref.html">seqxref</a></td>
641 <td>Retrieve all database cross-references for a sequence entry</td>
642 </tr>
643
644 <tr>
645 <td><a href="seqxrefget.html">seqxrefget</a></td>
646 <td>Retrieve all cross-referenced data for a sequence entry</td>
647 </tr>
648
649 <tr>
650 <td><a href="showalign.html">showalign</a></td>
651 <td>Display a multiple sequence alignment in pretty format</td>
652 </tr>
653
654 <tr>
655 <td><a href="whichdb.html">whichdb</a></td>
656 <td>Search all sequence databases for an entry and retrieve it</td>
657 </tr>
658
659 </table>
660 <!--
661 Add any comments about other associated programs (to prepare
662 data files?) that seealso doesn't find.
663 -->
664
665
666
667
668
669
670
671
672
673
674 <H2>
675 Author(s)
676 </H2>
677
678 Peter Rice
679 <br>
680 European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK
681
682 <p>
683 Please report all bugs to the EMBOSS bug team (emboss-bug&nbsp;&copy;&nbsp;emboss.open-bio.org) not to the original author.
684
685 <H2>
686 History
687 </H2>
688 <!--
689 Date written and what changes have been made go in this file.
690 -->
691
692
693
694
695 <H2>
696 Target users
697 </H2>
698 <!--
699 For general users, use this text
700 -->
701 This program is intended to be used by everyone and everything, from naive users to embedded scripts.
702
703 <H2>
704 Comments
705 </H2>
706 <!--
707 User/developer/other comments go in this file.
708 -->
709 None
710
711
712 </BODY>
713 </HTML>
714