This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Extract subset (based on GO or KEGG categories) from Trinotate.xls for goseq analysis

Hi, I have assembled unigenes using Trinity pipeline and annotated them using Trinotate pipeline. How can I extract a subset of genes (based on GO or KEGG categories, for example oxidoreductases activity) from Trinotate.xls for goseq analysis?

r rna-seq gene

1 answer

Using grep:

grep "someGOterm" trinotate.xls

In case you want to filter for several GO terms, put them into a file, one per line:

grep -f GOterm.file trinotate.xls

Log in to answer this question.