loadBlast | R Documentation |
Load alignment coordinates from the NCBI BLAST.
loadBlast(
file.coords,
reformat.strand = TRUE,
apply.sort = TRUE,
asGRanges = TRUE,
verbose = 1
)
file.coords |
path to the file with alignment coordinates obtained with |
reformat.strand |
if TRUE, "plus" is replaced by "+", and "minus" by "-" |
apply.sort |
if TRUE, return the alignments sorted in increasing order for qseqid, then increasing for evalue, then decreasing for bitscore, then decreasing for length, then decreasing for pident, then increasing for sseqid |
asGRanges |
if TRUE, returns a |
verbose |
verbosity level (0/1) |
GRanges or data.frame with 14 columns
Timothee Flutre
blast2granges
## Not run: ## BLAST should be run beforehand, for instance:
## zcat chroms.fa.gz | makeblastdb -dbtype nucl -in - -title chroms -out chroms -logfile makeblastdb_chroms.log
## echo "zcat seqs.fa.gz | blastn -query - -task megablast -db chroms -out /dev/stdout -outfmt \"6 std qlen sstrand\" | gzip > megablast_chroms_seqs.txt.gz" | qsub ...
coords <- loadBlast("megablast_chroms_seqs.txt.gz")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.