runPredator | R Documentation |
This function can run and capture the result of Predator in R by invoking the OS command. The results can be formatted and used as the features of tool "lncPro". Predator is required (https://bioweb.pasteur.fr/packages/pack@predator@2.1.2). NOTE: Predator does not support 64-bit MS Windows OS. Linux OS is recommended).
runPredator(
seqs,
args.Predator = NULL,
path.Predator = "Predator/predator",
path.stride = "Predator/stride.dat",
workDir = getwd(),
verbose = FALSE,
parallel.cores = 2,
cl = NULL
)
seqs |
RNA sequences loaded by function |
args.Predator |
string specifying additional arguments (except "-a" and "-b") for Predator. This is used when you want to control the behaviour of Predator. Arguments for Predator please refer to its manual. Default: |
path.Predator |
string specifying the location of Predator program. |
path.stride |
string specifying the location of file "stride.dat" required by program Predator. |
workDir |
string specifying the directory for temporary files. The temp files will be deleted automatically when the calculation is completed. The directory does not exist will be created automatically. |
verbose |
logical. Should the relevant information be printed during the calculation? (Only available on Linux OS.) |
parallel.cores |
an integer that indicates the number of cores for parallel computation. Default: |
cl |
parallel cores to be passed to this function. |
This function depends on the program Predator (https://bioweb.pasteur.fr/packages/pack@predator@2.1.2). Program Predator is only available on Linux and 32-bit Windows OS.
This function can print the related information when the OS is Linux, such as:
"25 of 100, length: 50 aa"
,
which means around 100 sequences are assigned to this node, and the program is computing the 25th sequence. The length of this sequence is 50 aa.
This function returns a data frame of the raw outputs of Predator.
Frishman D, Argos P. Incorporation of non-local interactions in protein secondary structure prediction from the amino acid sequence. Protein Eng. 1996; 9:133-42
runRNAsubopt
data(demoPositiveSeq)
seqsPro <- demoPositiveSeq$Pro.positive
path.Predator <- "/mnt/external_drive_1/hansy/predator/predator"
path.stride <- "/mnt/external_drive_1/hansy/predator/stride.dat"
path.stride <- "/media/psf/AllFiles/Volumes/Work/Projects/ncPro/lnc-pro/predator/stride.dat"
path.Predator <- "/media/psf/AllFiles/Volumes/Work/Projects/ncPro/lnc-pro/predator/predator"
Predator.res <- runPredator(seqs = seqsPro, path.Predator = path.Predator,
path.stride = path.stride, workDir = "tmp",
verbose = TRUE, parallel.cores = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.