Skip to content
Snippets Groups Projects
Commit cde5c10a authored by Venkat Malladi's avatar Venkat Malladi
Browse files

fix missing genome params and annotate peaks syntax.

parent 78b410c7
1 merge request!18Resolve "Add in current chip-analysis functionality."
......@@ -38,6 +38,7 @@ readsList = Channel
pairedEnd = params.pairedEnd
designFile = params.designFile
genomeSize = params.genomeSize
genome = params.genome
chromSizes = params.chromSizes
fasta = params.fasta
cutoffRatio = params.cutoffRatio
......
......@@ -21,16 +21,16 @@ if (length(args) != 2) {
}
design_file <- args[1]
genome <-args[2]
genome_assembly <- args[2]
# Load UCSC Known Genes
if(genome=='GRCh37') {
if(genome_assembly=='GRCh37') {
txdb <- TxDb.Hsapiens.UCSC.hg19.knownGene
annodb <- 'org.Hs.eg.db'
} else if(genome=='GRCm38') {
} else if(genome_assembly=='GRCm38') {
txdb <- TxDb.Mmusculus.UCSC.mm10.knownGene
annodb <- 'org.Mm.eg.db'
} else if(genome=='GRCh38') {
} else if(genome_assembly=='GRCh38') {
txdb <- TxDb.Hsapiens.UCSC.hg38.knownGene
annodb <- 'org.Hs.eg.db'
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment