handle_fasta: Handles fasta files

Description Usage Arguments Details Value

View source: R/handle_fasta.R

Description

Decides whether the provided fasta file is, whole genome Merlin aligned/ assembled, Whole genome other, or only covers a fraction of the genome. If not WG Merlin type, then it aligns using MAFFT –add –keeplength.

Usage

1
handle_fasta(fasta_in, fasta_out, fasta_ref)

Arguments

fasta_in

Path to the input file

fasta_out

filename of fasta alignment produced

fasta_ref

the Merlin reference fasta file

Details

Then converts to VCF using snp-sites

Value

vcf file and fasta alignment


ojcharles/hivdrg documentation built on Feb. 12, 2022, 12:10 p.m.