Skip to content

maxlcummins/abricateR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

abricateR

abricate combinator

Installation

# Install devtools
install.packages("devtools")
# Load devtools
library(devtools)

#Download abricateR
install_github("maxlcummins/abricateR")
#Load abricateR
library(abricateR)

Usage

Note: In the following example, genotype.txt is a file generated by concatenating abricate output files (*.txt), not a summary file generated by abricate

#Load paths to files needed for the script
abricate_path <- "placeholder/output/genotype.txt"
pointfinder_path <- "placeholder/output/pointfinder.txt"
pMLST_data <- "placeholder/output/pMLST.txt"

#Provide output names
output_name <- "ST95_all"
output_dir <- "processed"

#Load abricateR2 script
source("scripts/abricateR2.R")
#Run abricateR
abricateR(
        abricate_in = abricate_path,
        output = output_name,
        output_directory = output_dir,
        writecsv = TRUE,
        pointfinder_data = pointfinder_path,
        pMLST_data = pMLST_data
)

About

abricate combinator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages