convert_to_aa: Convert from DNA to amino acid sequence

View source: R/helper.R

convert_to_aaR Documentation

Convert from DNA to amino acid sequence

Description

This function extracts CDS sequence from a FASTA-formatted file, translates DNA into amino acid sequence, and writes amino acid sequences to disk.

Usage

convert_to_aa(transcript_fa_fname, transcript_length_fname, output_fname)

Arguments

transcript_fa_fname

character; file path to transcriptome .fasta (DNA) file

transcript_length_fname

character; file path to transcriptome lengths file

output_fname

character; file path for output amino acid sequences


amandamok/choros documentation built on March 15, 2023, 7:57 p.m.