-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathQuadron.R
executable file
·27 lines (22 loc) · 1.09 KB
/
Quadron.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
################################################################################
# Requires the libraries "doMC", "foreach", "itertools", "xgboost" (0.4-4), #
# "caret" and "plyr". #
# If not already installed in R, you can install those by typing: #
# install.packages(c("doMC", "foreach", "itertools", "plyr", "caret")) #
# Specific steps are needed to install the xgboost version 0.4-4, as detailed #
# in the Readme file. #
# The default fastread==TRUE option in readfasta requires "data.table" library.#
################################################################################
#setwd("./lib")
#source("bitcompile.R")
#rm(list=ls())
#setwd("..")
print("NOTE: Loading Quadron core...", quote=FALSE)
load("Quadron.lib")
Quadron(FastaFile= "test.fasta",
OutFile = "out.txt",
nCPU = 4,
SeqPartitionBy = 1000000)
#file.remove("Quadron.lib")
#rm(list=ls())
################################################################################