blast2granges: BLAST

blast2grangesR Documentation

BLAST

Description

Convert a data.frame containing alignments coordinates from BLAST into a GRanges object.

Usage

blast2granges(coords)

Arguments

coords

data.frame with 14 columns (see loadBlast)

Value

GRanges

Author(s)

Timothee Flutre

See Also

loadBlast

Examples

## Not run: ## BLAST should be run beforehand, see the example of `loadBlast`:
coords <- loadBlast("megablast_chroms_seqs.txt.gz", asGRanges=FALSE)
coords.gr <- blast2granges(coords)

## End(Not run)

timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.