
Get the genomic range of a candidate gene using the Sobic ID from a gff file.
Source:R/sqlite_variant_discovery.R
gene_coord_gff.Rd
Get the genomic range of a candidate gene using the Sobic ID from a gff file.
Value
A list object of three components indicating the chromosome, start and end coordinates of candidate gene.
Examples
# \donttest{
# example code
# Path to GFF3 file
gff_path <- "https://raw.githubusercontent.com/awkena/panGB/main/Sbicolor_730_v5.1.gene.gff3.gz"
gene_coord_gff(gene_name = "Sobic.005G213600",
gff_path = gff_path)
#> $chrom
#> [1] "Chr05"
#>
#> $start
#> [1] 75104537
#>
#> $end
#> [1] 75106403
#>
# }