checkVCF icon indicating copy to clipboard operation
checkVCF copied to clipboard

VCF does not have correct column number

Open Zepeng-Mu opened this issue 5 years ago • 2 comments

Hi, I am using checkVCF and got the error Line [ 1 ] does not have correct column number, exiting!. I checked the columns by reading first several lines into python and split them by \t, which gave me the same column number. I did not encounter this when processing other datasets. How can I fix this? Many thanks

Zepeng-Mu avatar Mar 14 '19 21:03 Zepeng-Mu

So changing this line 212 fd = ln.strip().split() to split('\t') seem to solve my problem. Although I do not need to change the code for reading the header line.

Zepeng-Mu avatar Mar 18 '19 18:03 Zepeng-Mu

Thanks for the report. The VCF specification requires \t instead of white space. So I used it in the script.

Sent from my iPhone

On Mar 18, 2019, at 1:37 PM, Zepeng Mu [email protected] wrote:

So changing this line 212 fd = ln.strip().split() to split('\t') seem to solve my problem. Although I do not need to change the code for reading the header line.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

zhanxw avatar Mar 19 '19 00:03 zhanxw