merge_fasta {minSNPs}R Documentation

merge_fasta

Description

merge_fasta is used to combine 2 fasta.

Usage

merge_fasta(
  fasta_1,
  fasta_2,
  meta_1,
  meta_2,
  ref,
  method = "full",
  bp = BiocParallel::SerialParam(),
  ...
)

Arguments

fasta_1

fasta read into memory to join

fasta_2

fasta read into memory to join

meta_1

meta file for 'fasta_1' denoting all positions of SNPs and position in reference genome

meta_2

meta file for 'fasta_2' denoting all positions of SNPs and position in reference genome

ref

name of the reference genome (needs to be in both fasta files)

method

how to join the 2 fasta, currently supported methods are: inner, full

bp

the BiocParallel backend

...

all other arguments

Value

Will return a list containing a merged FASTA and a meta.


[Package minSNPs version 0.2.0 Index]