Subtracting bed file from whole genome
1
0
Entering edit mode
20 months ago
arsala521 ▴ 30

Hi,

I have a list of hg38 genomic regions in a bed file. I want to subtract these regions from whole genome sequence and get resultant regions in another bed file. What would be the appropriate way to do that? What I thought was to create whole genome bed file based on hg38.chroms.sizes file and then use bedtools subtract, but I was wondering if there could be some other appropriate way?

Thank you

bed • 671 views
ADD COMMENT
1
Entering edit mode
20 months ago
ATpoint 82k

Make a BED file for the genome, so chromosome name and as coordinates 0 as start and the chromosome length as end. Then use bedtools complement to ‚subtract‘ your regiome from the genome.

ADD COMMENT

Login before adding your answer.

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