chop_fasta: Reads a fasta & chops it

Description Usage Arguments

View source: R/chop_fasta.R

Description

Reads a fasta & chops it

Usage

1
chop_fasta(fasta_list, len = 1000, method = "random", n = "complete")

Arguments

fasta_list

contents of a single fasta file (a list of SeqFastadna objects) as read by read.fasta

len

length of pieces to chop

n

The number of pieces to chop into (as an integer), or "complete", in which case len * n = the length of the sequence

random

Whether to chop at random. At present only this method is implemented


adsteen/genomechop documentation built on May 18, 2019, 8:11 p.m.