[BioC] BLAST in R

January Weiner january.weiner at mpiib-berlin.mpg.de
Thu Jun 9 14:37:36 CEST 2011

Dear Zoha,

I think the simplest thing to do is to invoke the command line blast
from R, using the option -m 8 to get tabular output that can be
automatically parsed by read.table. Example:

myPipe <- pipe( "blastall -p blastp -i text.fasta -d data.fasta" )
results <- read.table( myPipe )
colnames( blastResults ) <- c( "QueryID",  "SubjectID", "Perc.Ident",
"Alignment.Length", "Mismatches", "Gap.Openings", "Q.start", "Q.end",
"S.start", "S.end", "E", "Bits" )

However, that way you will not get the actual alignments.



On Mon, Jun 6, 2011 at 4:49 PM, Zoha Moztarzadeh <zoha_mozt at yahoo.com> wrote:
> Hello bioconductor group,
> I have a FASTA sequences (without ID) and would like to find the homolge sequneces with BLAST.
> How can I do this in R explain me haw to do multiple sequence alignment with them.
> Thanks in advance,
> Zoha
>        [[alternative HTML version deleted]]
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor

-------- Dr. January Weiner 3 --------------------------------------
Max Planck Institute for Infection Biology
Charitéplatz 1
D-10117 Berlin, Germany
Web   : www.mpiib-berlin.mpg.de
Tel     : +49-30-28460514

More information about the Bioconductor mailing list