Skip to content

Best way to attach go terms to blast output #1350

Answered by kubu4
ocattau asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately, I don't think any tutorial/example has been fully fleshed out. There are a few things that have been started, but are incomplete. With that being said, here's my recommendations.

For the most reproducible process, I'd recommend looking at this notebook entry (https://nbviewer.org/github/RobertsLab/code/blob/master/notebooks/sam/20210601_ssal_gff-annotations.ipynb), starting at In[12]. Basically, here's the process that needs to take place:

  1. Get a newline-delimited file of SP IDs from your BLAST output.
  2. Modify the Perl script that's show in In[13] to work with SPIDs (replace P_ENTREZGENEID with SWISSPROT)
  3. Run the updated Perl script.
  4. Parse out all of the stuff you want (exam…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by sr320
Comment options

You must be logged in to vote
1 reply
@ocattau
Comment options

ocattau Dec 2, 2021
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants