export_sequences: Exports downloaded details into seperate .csv files for each...

Description Usage Arguments Details

View source: R/export_sequences.R

Description

export_sequences

Usage

1
export_sequences(data, file_path = getwd())

Arguments

data

data frame with '$sci_nam', '$sequence', and '$accession_version' column (expected to be 'GB_with_SeqDat', the data frame result of the pipeline so far).

file_path

path to newly created .csv file, defaults to working directory

Details

Function takes data frame with column '$sci_nam' and splits according to species name before exporting sequence data from each species as seperate .fasta files.

Input data frame is split by species (according to '$sci_nam' column). For each species a separate .fasta file is then written out containing the raw sequence data downloaded from each accession.


EvolEcolGroup/mtDNAcombine documentation built on July 8, 2021, 10:30 p.m.