get_base_fasta: Get reference base in FASTA at genomic position

View source: R/fasta.R

get_base_fastaR Documentation

Get reference base in FASTA at genomic position

Description

Get reference base in FASTA at genomic position

Usage

get_base_fasta(
  fasta = NULL,
  fai = NULL,
  gpos = NULL,
  sort = TRUE,
  header = TRUE,
  threads = 1
)

Arguments

fasta

PATH to FAI file.

fai

PATH to FAI file.

gpos

Genomic position.

sort

Sort genomic positions alphanumerically. Default TRUE

threads

Number of threads to use. Default 1

Details

gpos_object structure: time: System time at read time fasta_origin: PATH to fasta origin file body: Gpos body

Value

A fasta_object


TearsWillFall/ULPwgs documentation built on April 18, 2024, 3:45 p.m.