Online BLAST search using R
Is there a way to incorporate online BLAST search using an R script which takes FASTA sequences as input and returns the BLAST hits?
blast
r
• 4,209 views
•
link
updated
by
SequenceServer •
•
written
by
accibio •
0 answers
No answers yet.
Log in to answer this question.
More posts like this
-
Fastest way to perform BLAST search using a multi-FASTA file against a remote database
written by accibio •I have a multi-FASTA file having ~125 protein sequences. I need to perform a BLASTP seach against remote `nr` database. I tried using `NcbiblastpCommandline`, but …
-
Obtaining FASTA format from blastp output
written by mbrav005 •Is it possible to convert BLAST hits from the blastp command in order to have the output into a FASTA file containing the sequences of …
-
Extract sequences which do not have blast hits
written by karthicHi, I have a fasta file with around 1 million sequences. I did a blast search and got hits for around 7500 sequences. Now I …
-
"Similarity search" for epitopes
written by gil.hornungHi all, The problem I am facing is finding proteins that may react with antibodies that are produced against a specific protein (which I will …
-
creating graph of distribution of blast hits on the query sequence
written by hersh •Hi Biostars, I'm attempting to visualize the results of my BLAST search in a way similar to the graphical display of the distribution of blast …
-
Retrieve only BLAST hit sequences from a de novo transcriptome
written by Cristian Vergara •Hello! I currently have a 255k assembled contigs transcriptome (de novo, Trinity) and I want to retrieve indentifiers and sequences in fasta format of the …
-
tool: changes in binding affinities caused by SNP
written by tonja.rIs there any tool which as input takes two sequences: one with snp and another without and calculates the differences in the binding affinities using …
-
Online blast and standalone blast return different hits?
written by ishengomaeLately I have issues with blast. Anyway what I want to do could have different and easier process so I welcome any help. I have …
-
A Tool For Flagging Blast Searches?
written by ishengomae<p>I want to know if there is a blast way or a blast-like tool in which a query will search through a database and return …
-
Python Program Accepting Fasta And Blast, Outputting In Xml Then Returning Ids Of All Sequences
written by te502 •<p>Ok. The assignment was to write a program which accepts an input argument of a FASTA file and prints the hit_id of all found sequences …
Why do you wish to automate a web crawl on BLAST when blast has a command line utility with online search enabled?
I'm trying to develop an R package for extracting annotations for proteins based on results from BLAST searches. So I need to incorporate BLAST inside the R package.
Why not take BLAST results as input instead? Why not accept a FASTA file instead of a sequence? Use R for data processing, not reinventing the wheel on existing processes. For example, while an R package to parse BAM files is useful, an R package to call variants from BAM is not - not everything needs to be re-implemented in every language.
Maybe this helps https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/system2 or this https://www.r-bloggers.com/2020/01/working-with-windows-cmd-system-commands-in-r/
metablastris probably what you're looking for. Or you could try using theBLASTAPI.I agree with Ram though. You're probably better off telling your users to do their own sequence searches, and just bring your package the output in a standardized format (which you can prescribe). Especially if you're just going to end up telling them to run
BLASTlocally (in which case you should be telling them to useMMseqs2at this point because it's faster and lightweight).Check this R package (https://github.com/gschofl/blastr and https://rdrr.io/github/gschofl/blastr/man/). It looks like BLAST with R. But I failed to find any tutorials about this package.
It's possible with SequenceServer. We've made examples for blasting from within python. And for remote blasting in the unix command-line.
The same concept (i.e. server-side API) should be accessible from R too. But we have yet to make example code.