readFASTA: fasta sequence file parser adapted from (an older version of)...

readFASTAR Documentation

fasta sequence file parser adapted from (an older version of) Biostrings

Description

fasta sequence file parser adapted from (an older version of) Biostrings

Usage

readFASTA(
  file,
  checkComments = TRUE,
  strip.descs = TRUE,
  split.desc = "",
  grepID = FALSE
)

Arguments

file

file with sequence(s) in fasta format

checkComments

remove information after a semi-colon ; in fasta header

strip.descs

split header at a pattern in argument split.desc and store in returned structure as details

split.desc

pattern to split header into description and details with argument strip.descs

grepID

use ID in description field as names of sequence list.


raim/segmenTools documentation built on April 30, 2024, 4:53 a.m.