R/onLoad.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
    .jpackage(pkgname, lib.loc = libname)
    initPipeFrame(availableGenome = c("hg19",
                                      "hg38",
                                      "mm9",
                                      "mm10",
                                      "danRer10",
                                      "galGal5",
                                      "galGal4",
                                      "rheMac3",
                                      "rheMac8",
                                      "panTro4",
                                      "rn5",
                                      "rn6",
                                      "sacCer2",
                                      "sacCer3",
                                      "susScr3"),
                  defaultJobName = paste0(pkgname,"-pipeline"),
                  defaultCheckAndInstallFunc = checkAndInstall
    )


    addEdges(edges = c(
                  "PeakCallingFseq","FRiPQC",
                  "PeakCallingFseq","RPeakComp",
                  "PeakCallingMACS2","FRiPQC",
                  "PeakCallingMACS2","RPeakComp",
                  "FindAdapter", "RemoveAdapter",
                  "RMotifScan", "CutSiteCountR",
                  "RMotifScanPair",  "CutSiteCountR",
                  "SCFindAdapter", "SCRemoveAdapter"
              ),
             argOrder = 2)
    addEdges(edges = c(
                  "UnzipAndMerge", "Renamer",
                  "UnzipAndMerge", "FastQC",
                  "UnzipAndMerge", "RemoveAdapter",
                  "UnzipAndMerge", "FindAdapter",
                  "Renamer", "RemoveAdapter",
                  "Renamer", "FastQC",
                  "Renamer", "FindAdapter",
                  "SamToBam", "Rsortbam",
                  "SamToBam", "BamToBed",
                  "Rsortbam", "BamToBed",
                  "RemoveAdapter", "Bowtie2Mapping",
                  "Bowtie2Mapping", "SamToBed",
                  "Bowtie2Mapping", "SamToBam",
                  "Bowtie2Mapping", "LibComplexQC",
                  "SamToBed", "PeakCallingFseq",
                  "PeakCallingFseq", "RPeakComp",
                  "SamToBed", "PeakCallingMACS2",
                  "PeakCallingMACS2", "RPeakComp",
                  "SamToBed", "FragLenDistr",
                  "SamToBed", "TSSQC",
                  "SamToBed", "FRiPQC",
                  "SamToBed", "BedToBigWig",
                  #"SamToBed", "PeakQC",
                  "BamToBed", "PeakCallingFseq",
                  "BamToBed", "PeakCallingMACS2",
                  "BamToBed", "BedUtils",
                  "BamToBed", "FragLenDistr",
                  "BamToBed", "TSSQC",
                  "BamToBed", "FRiPQC",
                  "BamToBed", "BedToBigWig",
                  #"BamToBed", "PeakQC",
                  "BedUtils", "BedToBigWig",
                  "BedUtils", "BedUtils",
                  "BedUtils", "PeakCallingFseq",
                  "BedUtils", "PeakCallingMACS2",
                  "BedUtils", "FragLenDistr",
                  "BedUtils", "TSSQC",
                  "BedUtils", "FRiPQC",
                  "BedUtils", "CutSitePre",
                  "BedUtils", "PeakQC",
                  "SamToBed", "BedUtils",
                  "BamToBed", "BedUtils",
                  "PeakCallingFseq", "PeakQC",
                  "PeakCallingFseq", "RMotifScan",
                  "PeakCallingFseq", "RPeakAnno",
                  "PeakCallingFseq", "RSNPs",
                  "PeakCallingMACS2", "PeakQC",
                  "PeakCallingMACS2", "RMotifScan",
                  "PeakCallingMACS2", "RPeakAnno",
                  "PeakCallingMACS2", "RSNPs",
                  "SamToBed", "CutSitePre",
                  "BamToBed", "CutSitePre",
                  "CutSitePre", "CutSiteCountR",
                  "RPeakAnno", "RGo",
                  "RMotifScan", "RSNPs",
                  "RPeakComp", "RMotifScanPair",
                  "SCUnzipAndMerge","SCRenamer",
                  "SCRenamer","SCFindAdapter",
                  "SCRenamer","SCRemoveAdapter",
                  "SCRenamer","SCBowtie2Mapping",
                  "SCRemoveAdapter", "SCBowtie2Mapping",
                  "SCBowtie2Mapping", "SCSamToBam",
                  "SCQC", "SCCellFilter"
              ),
             argOrder = 1)

}
wzthu/wzzw documentation built on Aug. 13, 2022, 7:11 a.m.