create_pureseqtm_files: Create the five PureseqTM output files, by running PureseqTM.

View source: R/create_pureseqtm_files.R

create_pureseqtm_filesR Documentation

Create the five PureseqTM output files, by running PureseqTM.

Description

Create the five PureseqTM output files, by running PureseqTM.

Usage

create_pureseqtm_files(
  fasta_filename,
  folder_name = get_default_pureseqtm_folder(),
  temp_folder_name = tempfile(pattern = "pureseqt_")
)

Arguments

fasta_filename

path to a FASTA file

folder_name

superfolder of PureseqTM. The superfolder's name is /home/[user_name]/.local/share by default, as can be obtained by get_default_pureseqtm_folder

temp_folder_name

path of a temporary folder. The folder does not need to exist. Files that are out in this folder are not automatically deleted, which is not a problem, as the default path given by tempdir is automatically cleaned by the operating system

Value

full path to the files created

Author(s)

Richèl J.C. Bilderbeek

Examples

if (is_pureseqtm_installed()) {
  fasta_filename <- get_example_filename("1bhaA.fasta")
  create_pureseqtm_files(fasta_filename)
}

pureseqtmr documentation built on April 6, 2023, 5:20 p.m.