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


ucl-pathgenomics/cmvdrg documentation built on Dec. 8, 2020, 2:36 a.m.