Dear All,
Recently, I did de novo RNA-seq experiment for a non-model fish species and assembled transcripts for functional annotations. Before GO annotation, I blasted my assembled transcripts (1e-10) to InterProScan 5 and got PFAM IDs (File 1). Then, I downloaded GO annotations for each PFAM entries (from here: http://www.geneontology.org/page/download-mappings) and got PFAM IDs with corresponding GO mappings (File 2). I want to compare these two files and save the PFAM IDs with GO annotations for my file 1 entries:
File 1: (my file for analyses, as you notice that PF00015 and PF00016 are not absent in my file)
PF00001
PF00002
PF00003
PF00004
PF00005
PF00006
PF00007
PF00008
PF00009
PF00010
PF00011
PF00012
PF00013
PF00014
PF00017
PF00018
File 2: (downloaded file from the database PFAM IDs with GO annotations)
PF00001 GO:0004930
PF00001 GO:0007186
PF00001 GO:0016021
PF00002 GO:0004930
PF00002 GO:0007186
PF00002 GO:0016021
PF00003 GO:0004930
PF00003 GO:0007186
PF00003 GO:0016021
PF00004 GO:0005524
PF00005 GO:0005524
PF00005 GO:0016887
PF00006 GO:0005524
PF00008 GO:0005515
PF00009 GO:0003924
PF00009 GO:0005525
PF00010 GO:0046983
PF00013 GO:0003723
PF00014 GO:0004867
PF00015 GO:0004871
PF00015 GO:0007165
PF00015 GO:0016020
PF00016 GO:0000287
PF00017 GO:0005515
PF00018 GO:0005515
My question is that is there any perl or phyton script for comparing these two files and generating an output including File 1 PFAM IDs with GO annotations.
Thank you all in advance
Best regards
-vahap-
Dear joe.cornish826,
Many thanks for the prompt reply. But, unfortunately, I could not execute this script :( , because I am newbie ! Do you give me a bit additional info for how to execute it ? Many thanks again.
Best regards,
-vahap-
Usage is as follows, assuming you save the script as
pfam-to-go.py