Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to convert a SNP.txt to a bed file or get a SNP.bed from samtools? Ling Bioinformatics 7 04-02-2015 06:17 AM
Convert pileup to bed gmarco Bioinformatics 3 06-05-2013 03:22 PM
how to convert the VP INFO field of a VCF file evakoe Bioinformatics 1 09-25-2012 11:27 PM
help - convert .bed to .bam adurasiwam3 Bioinformatics 5 05-29-2012 07:04 PM
convert vcf into bed format nans_bn Bioinformatics 0 08-01-2011 11:34 PM

Thread Tools
Old 02-10-2020, 04:13 AM   #1
Junior Member
Location: Madrid, Spain

Join Date: Oct 2016
Posts: 1
Smile Convert vcf to bed based on PS field

I want to convert the VCF file with phase information into a phase block bed format.
So if this is the file:

Chr_1 1223 A G 1|0 1223
Chr_1 1245 A G 1|0 1223
Chr_1 1297 A G 1|0 1223
Chr_1 1450 A G 1|0 1450
Chr_1 1498 A G 1|0 1450

I wish to obtain a file like:

Chr_1 1223 1297
Chr_1 1450 1498

Please help!
bhumika is offline   Reply With Quote

awk, bed, sed, shell-script, vcf file

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 06:39 AM.

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