parse_file: Parses single fasta file into multiple files

Description Usage Arguments Value

Description

This function Parses the large fasta file and store the sequences into multiple files according to user requirement

Usage

1
2
parse_file(path_in = NULL, path_out = NULL, num_seq = NULL,
  trim = FALSE, trunc = 0, id = TRUE)

Arguments

path_in

A comlpete path to the input fasta sequence file

path_out

A Path where resulting files will be store.Path should be contain prefix name of input file on which will append .fa extenstion

num_seq

Integer defining howmany sequences want to seperate in to one file

trim

Logical, should the sequences be trimmed to 4000 amino acids to bypass the CBS server restrictions. Defaults to FALSE.

trunc

Integer, truncate the sequences to this length.

id

Logical, should the protein id's be returned. Defaults to FALSE.

Value

if id = FALSE, A Character vector of the paths to the resulting .FASTA formatted files.

@examples parse_file(path_in= "path of input file", path_out= "path to store outputfiles", num_seq= 300,trim = FALSE, trunc = 0, id = TRUE)


computational-genomics-lab/motifFUN documentation built on June 4, 2019, 7:52 a.m.