Skip to contents

Build a ppanggolin file from fastas

Usage

build_ppanggolin_file_fastas(
  complete_genome_paths = NULL,
  incomplete_genome_paths = NULL
)

Arguments

complete_genome_paths

vector of paths to complete genome assemblies (all contigs are circular)

incomplete_genome_paths

vector of paths to incomplete genome assemblies (all contigs not circular)

Value

a tibble satisfying the ppanggolin file requirements with the complete genome contigs indicated as circular

Examples

build_ppanggolin_file_fastas(
incomplete_genome_paths=c('./genomes/genome1.fasta', './genomes/genome2.fasta'))
#> # A tibble: 2 × 3
#>   ID      paths                   contig_names
#>   <chr>   <chr>                   <chr>       
#> 1 genome1 ./genomes/genome1.fasta ""          
#> 2 genome2 ./genomes/genome2.fasta ""