bedtools shuffle with adjustment of GC ratio
1
2
Entering edit mode
7.7 years ago
Shicheng Guo ★ 9.6k

Hi All,

Is there any script which can be used for bedtools shuffle and can be applied to ‘GC' ratio control/adjustment ?

I want to random re-sampling same genomic regions with same length distribution and similar 'GC' contents.

Perl script will be preferred.

Thanks.

bedtools shuffle sampling GC contents • 2.1k views
ADD COMMENT
0
Entering edit mode

Hi Dr. Guo,

Wondering if you have found a feasible solution? Or how to define the GC% range? I met the same question too.

Thank you for your time.

ADD REPLY
0
Entering edit mode
7.7 years ago
ivivek_ngs ★ 5.2k

I would encourage you to look in to the below links for coming up with a solution. There is a bash script which you can convert to perl script to be honest.

Picking random genomic positions

Perl script: generate pseudo-CDSs from intergenic region

ADD COMMENT

Login before adding your answer.

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