Bedtools shift in a defined chromosomal position
1
0
Entering edit mode
5.5 years ago
ste.lu ▴ 80

Hi All!

Do you know if there is a way to use bedtools shift tool in a defined chromosomal postions. In other words, shift +10 bp only the regions that are on chr1 in beteween 1 and 10000.

E.g:

chr1 10 100

chr1 20000 21000

bedtools shift -s 10 -chr_reg chr1:1-10000

chr1 20 110

chr1 20000 21000

Thanks!

bedtools • 700 views
ADD COMMENT
0
Entering edit mode
5.5 years ago

extract the regions that are not in " chr1:1-10000"

run bedtools in chr1:1-10000

concatenate both files.

ADD COMMENT

Login before adding your answer.

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