change the columns of vcf file
0
0
Entering edit mode
6.2 years ago
GK1610 ▴ 120

I have a genotype hg19_vcf file of 100 individuals with hg19 coordinates.

I pull out chromosome, position and rsids from vcf file and use NCBI remap service to convert the coordinates of vcf file to hg38.

How do I combine the new coordinates with genotypes information from hg19_vcf file?

SNP • 1.6k views
ADD COMMENT
1
Entering edit mode

What have you tried? You have a good grasp on the individual steps, so finding tools for each step should be straightforward.

You wish to

  1. extract specific attributes from a VCF file,
  2. run a service on a subset of elements from the extracted dataset to create a new mapping dataset; and
  3. create your output dataset with the service output combined with a few attributes from the extracted dataset using the mapping dataset.
ADD REPLY
1
Entering edit mode

Hello,

you can choose that the output of the remap service is again a vcf file. So there should be no need to combine anything. Just give in your vcf you like to liftover and get back the lifted over one.

fin swimmer

ADD REPLY

Login before adding your answer.

Traffic: 1861 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6