easy way to fetch out the surrounding CDS of a pair of given coordinates
1
0
Entering edit mode
3.2 years ago
zhangdengwei ▴ 210

Hi all,

I have a bacteria genome and the corresponding GFF annotation. Now I have a pair of coordinates and am wondering whether there is a quick way to fish out the surrounding CDS from the GFF file. Thanks in advance.

GFF • 861 views
ADD COMMENT
0
Entering edit mode

I finally succumb to coding by myself. The biopython module and pandas package can be helpful when doing such a thing.

ADD REPLY
0
Entering edit mode
3.2 years ago
Juke34 8.9k

agat_sp_filter_record_by_coordinates.pl from AGAT for example.
Then you catch CDS with an awk command: awk '{if($3=="CDS"){print $0}}' my.gff

ADD COMMENT

Login before adding your answer.

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