Excluding SNPs from repetitive regions
0
0
Entering edit mode
15 months ago
qstefano ▴ 20

Hey everyone,

I'm working with a genome with a high percentage of repetitive regions for some population genomic analyses. I want to exclude all the SNPs called in repetitive regions, do you know any software(s)? I have a VCF file containing the SNPs of the populations and the GFF.

Thanks in advance

Population-Genomics WGS Variant VCF • 648 views
ADD COMMENT
0
Entering edit mode

if you have a BED file with those repetitive regions , use bcftools view --regions-file ^exclude.bed in.vcf.gz

ADD REPLY
0
Entering edit mode

I don't have a BED file with repetitive regions, just the GFF.

ADD REPLY
0
Entering edit mode

I leave "converting GFF to BED with a simple awk command" to you as an exercice.

ADD REPLY

Login before adding your answer.

Traffic: 2070 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