How to filter gff based on certain gene list in rtracklayer?
1
0
Entering edit mode
alslonik • 0
@alslonik-15194
Last seen 5.2 years ago

Hi,

I am trying to understand whether the filter option is able to filter the gff that I have based on list of gene IDs, along with their exons, CDS, mRNA and UTR.. Is there an option like this in the package? If not, any idea how to do it? I am using simple grep for now, but it has its problems and I would like to know if there is smth quicker and clearer in R..

rtracklayer gff filter • 1.1k views
ADD COMMENT
0
Entering edit mode
@michael-lawrence-3846
Last seen 2.4 years ago
United States

I think you could just import() the file, subset the returned object by whatever criteria, and export() it back to the file.

ADD COMMENT

Login before adding your answer.

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