trimFasta: A function to execute seqtk trimming

View source: R/trimFasta.R

trimFastaR Documentation

A function to execute seqtk trimming

Description

This function executes a ubuntu docker that remove reads shorter of a specific threshold

Usage

trimFasta(
  group = c("sudo", "docker"),
  scratch.folder,
  data.folder,
  min.length = 300
)

Arguments

group

a character string. Two options: sudo or docker, depending to which group the user belongs

scratch.folder

a character string indicating the path of the scratch folder

data.folder

a character string indicating the folder where input data are located and where output will be written

min.length

min nucleotide lenght of each fasta seq

Value

Returns a fasta file colled trimmed.fasta.gz

Author(s)

Raffaele A Calogero, raffaele.calogero [at] unito [dot] it, University of Torino. Italy

Examples

## Not run: 
    #running fastq2fasta
    trimfasta(group="docker", scratch.folder="/data/scratch", data.folder=getwd(), min.length=300)

## End(Not run)


kendomaniac/docker4seq documentation built on April 29, 2024, 9:16 a.m.