SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
GATK: sorting vcf file given a reference file jorge Bioinformatics 4 01-14-2015 12:16 PM
Consensus from a VCF file szilva Bioinformatics 1 09-20-2012 09:01 PM
Converting Dindel VCF file to GATK BED file MolecularToast Bioinformatics 2 09-24-2011 06:38 PM
Uniquness in VCF file emilyjia2000 Bioinformatics 1 07-31-2011 10:15 AM
VCFtools Vcf.pm problem - broken VCF header on 1000genomes data naumenko.sa Bioinformatics 1 07-08-2011 04:17 AM

Reply
 
Thread Tools
Old 01-20-2012, 07:22 AM   #1
jessada
Junior Member
 
Location: stockholm

Join Date: Jan 2012
Posts: 1
Default How to get list of column in vcf file using Vcf.pm?

I used vcf-merge to merve many vcf files into one multi-column vcf files. Right now, I need to call $vcf->parse_haplotype which require the column name.

How can I do get the column name?

Here all the information I got so far

_read_column_names
About : Stores the column names as array $$self{columns} and hash $$self{has_column}{COL_NAME}=index.The indexes go from 1.
Usage : $vcf->_read_column_names();
Args : none

The problem is I'm a little new to perl. I cannot figure it out how to get the list of column from this function
jessada is offline   Reply With Quote
Reply

Tags
perl, vcf api

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 05:20 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO