This function calls sequentially the docker containers for FASTQC, STAR, and STARChip to predict the list of circRNAs starting from the raw RNA-Seq reads

wrapperSTARChip(
group = c("sudo", "docker"),
scratch.folder,
genome.folder,
samples.folder,
chimSegmentMin,
chimJunctionOverhangMin,
min.subject.limit,
do.splice,
cpm.cutoff,
subjectCPM.cutoff,
annotation
)

## Arguments

group, a character string. Two options: sudo or docker, depending to which group the user belongs a character string indicating the scratch folder where docker container will be mounted a character string indicating the folder where the indexed reference genome for STAR is located. the folder where are located all the subfolders of the samples processed with starChimeric a number indicating the number of cores to be used from the application is a positive integer indicating the minimal length of the overlap of a read to the chimeric element is a positive integer indicating the minimum overhang for a chimeric junction Integer. Minimum number of reads crossing the circRNA backsplice required. Integer. Minimum number of individuals with readsCutoff reads required to carry forward a circRNA for analysis true false. The splices within the circRNA be detected and reported. Linear splices are searched within each circRNA in each individual. Any linear splice with >= 60% of the read count of the cRNA is considered a splice within the circRNA. Two files are then created, .consensus with most common splice pattern, and .allvariants with all reported splice patterns. Float. Reads counts are loaded into R and log2(CountsPerMillion) is calculated using the limma package. With cpmCutoff > 0, circRNAs with log2(CPM) below this value will be filtered from this analysis Integer. See above. This value is the lower limit for number of individuals required to have the circRNAs expressed at a value higher than cpmCutoff. true/false. circRNAs are provided with gene annotations

## Examples

if (FALSE) {

#retrieve the example data
system("wget https://github.com/carlo-deintinis/circhunter/archive/master.zip") #retrieve the data of the indexed genome (chromosome 21 of hg38 human genome assembly)
system("unzip master.zip")
system("unzip ./circhunter-master/CircHunter/data/hg38.chr21.fa.zip")
system("wget ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR582/001/SRR5824251/SRR5824251_1.fastq.gz") #retrieve the RNA-Seq data
system("wget ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR582/001/SRR5824251/SRR5824251_2.fastq.gz") #retrieve the RNA-Seq data

#running the wrapperSTARChip function
wrapperSTARChip(group = "docker", scratch.folder="/data/scratch", genome.folder="./circhunter-master/CircHunter/data/", samples.folder=getwd(), threads = 8, chimSegmentMin = 20, chimJunctionOverhangMin = 15, reads.cutoff = 5, min.subject.limit = 1, do.splice = FALSE, cpm.cutoff = 0, subjectCPM.cutoff = 0, annotation = FALSE)

}