From Genome Analysis Wiki
Jump to navigationJump to search
1,087 bytes added
, 21:30, 22 December 2014
Line 346: |
Line 346: |
| | | |
| options : -o output VCF file [-] | | options : -o output VCF file [-] |
| + | </div> |
| + | </div> |
| + | |
| + | === Paste === |
| + | |
| + | Concatenate VCF files. Assumes individuals are in the same order and files share the same header. |
| + | Pastes VCF files like the unix paste functions. |
| + | Input requirements and assumptions: |
| + | 1. Same variants are represented in the same order for each file (required) |
| + | 2. Genotype fields are the same for corresponding records (required) |
| + | 3. Sample names are different in all the files (warning will be given if not) |
| + | 4. Headers are the same for all the files (assumption, not checked, will fail if output is BCF) |
| + | Outputs: |
| + | 1. INFO fields output will be that of the first file |
| + | 2. Genotype fields are the same for corresponding records |
| + | |
| + | |
| + | <div class=" mw-collapsible mw-collapsed"> |
| + | #paste chr1.mills.bcf and chr2.mills.bcf |
| + | vt paste chr1.mills.bcf chr2.mills.bcf -o mills.bcf |
| + | |
| + | <div class="mw-collapsible-content"> |
| + | usage : vt paste [options] <in1.vcf>... |
| + | |
| + | options : -L file containing list of input VCF files |
| + | -o output VCF file [-] |
| + | -p print options and summary [] |
| + | -? displays help |
| </div> | | </div> |
| </div> | | </div> |