Entering edit mode
6.1 years ago
Susmita Mandal
▴
110
Hey all,
I have been trying to intersect a gtf file with a vcf file using intersectBed without using any options. I have edited my VCF, it has the 8 necessary fields and I have added two columns of my own which are read counts from bed files when intersected with a vcf file ( intersectBed -c ). And the intersectBed with the gtf and vcf is working but something weird is happening. All the gtf files are same. Is that weird or usual? I'm checking the difference between gtf files using plain diff. Am i doing some mistake in creating the VCF file or in the intersectBed step? help me
Susmita
9 th column is format column and tags should be defined in vcf header and 10th column on wards sample information as per fields/tags defined in 9th column. I think your VCF is not standard vcf as you defined in OP. Please post your edited vcf to know better. Susmita Mandal
Hellohttps://www.biostars.org/u/49214/ ,
Please use the formatting bar (especially the
code
option) to present your post better. I've done it for you this time.Thank you!
Hello Susmita Mandal ,
could you please post the commands you use and how your input and output files looks like? I didn't understand what you have tried and what your problem is.
Thanks.
fin swimmer
This command seems to give me same results in all the samples:
The gtf files are identical!
And this command i used to get the VCF before i did some tinkering:
Read counts are different for each sample!