# Copy each CIRI2 prediction in the data folder
system(paste0("cp ", data, "/*/*.ciri ", data))
# Define a list of sample groups
cov <- c("NCM460","NCM460","NCM460","SW480","SW480","SW480","SW620","SW620","SW620")
ids <- c("SRR5889366","SRR5889367","SRR5889371","SRR5889362","SRR5889368","SRR5889369","SRR5889363","SRR5889364","SRR5889365")
cov_ord <- c("NCM460", "SW480", "SW620")
# Merge the CIRI2 outputs
circrnaMergePredictions(group="docker", scratch.folder=scratch, data.folder=data, samples.list=ids, covariates.list=cov, covariate.order=cov_ord, min_reads=2, min_reps=2, min_avg=10, used.tool="ciri2")