Skip to content

Instantly share code, notes, and snippets.

@claczny
Created November 15, 2017 11:12
Show Gist options
  • Save claczny/4a1e25ae465039a5d76c11018afe4466 to your computer and use it in GitHub Desktop.
Save claczny/4a1e25ae465039a5d76c11018afe4466 to your computer and use it in GitHub Desktop.
Fetch CSV hittable for NCBI online BLAST results
http://blast.ncbi.nlm.nih.gov/Blast.cgi?RESULTS_FILE=on&RID=REPLACE-BY-YOUR-RID&FORMAT_TYPE=CSV&FORMAT_OBJECT=Alignment&ALIGNMENT_VIEW=Tabular&CMD=Get
@claczny
Copy link
Author

claczny commented Nov 15, 2017

Upon performing an NCBI online BLAST search today [Wednesday, 15 November 2017], I found out that the formats provided for "Download" have changed. While JSON-formatted output may be convenient, I found the CSV output quite handy and use it in some scripts. Hence, finding out that the CSV-formatted output was missing in my case was annoying.

However, there is a workaround! Simply replace the REPLACE-BY-YOUR-RID part the RID of your BLAST search and you should get again the CSV-formatted hit table!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment