loadDnaFasta: Simple wrapper around seqinr::read.fasta for DNA data....

View source: R/family_funks.R

loadDnaFastaR Documentation

Simple wrapper around seqinr::read.fasta for DNA data. Function deletes gene descriptions following the first blank character after the gene accession. For example the name '>AT1G12345 crazy horse gymnast gene' becomes 'AT1G12345'.

Description

Simple wrapper around seqinr::read.fasta for DNA data. Function deletes gene descriptions following the first blank character after the gene accession. For example the name '>AT1G12345 crazy horse gymnast gene' becomes 'AT1G12345'.

Usage

loadDnaFasta(path.2.dna.fasta, sanitize.names = TRUE)

Arguments

path.2.dna.fasta

The valid file path to the FASTA file to read in.

sanitize.names

If TRUE, the default, gene descriptions following the first blank after the gene accessions are discarded.

Value

An instance of base::list as returned by seqinr::read.fasta


asishallab/GeneFamilies documentation built on May 22, 2023, 11:30 a.m.