Skip to content

Commit

Permalink
Merge pull request #29 from FertigLab/28-update-spacemarkers-to-call-…
Browse files Browse the repository at this point in the history
…pairwise-pattern-comparisons

28 update spacemarkers to call pairwise pattern comparisons
  • Loading branch information
atuldeshpande authored Aug 14, 2024
2 parents 1cde9bc + 6b6b5c5 commit 275757d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
17 changes: 9 additions & 8 deletions modules/local/spacemarkers.nf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
process SPACEMARKERS {
tag "$meta.id"
label 'process_medium'
container 'ghcr.io/fertiglab/spacemarkers:1.1.1'
label 'process_high_memory'
container 'ghcr.io/fertiglab/spacemarkers:1.1.2.3'

input:
tuple val(meta), path(cogapsResult), path(data)
Expand Down Expand Up @@ -51,11 +51,12 @@ process SPACEMARKERS {
saveRDS(optParams, file = "${prefix}/optParams.rds");
#find genes that are differentially expressed in spatial patterns
spaceMarkers <- getInteractingGenes(data = dataMatrix, \
optParams = optParams, \
spPatterns = spPatterns, \
refPattern = "Pattern_1", \
mode = "DE", analysis="enrichment");
spaceMarkers <- getPairwiseInteractingGenes(data = dataMatrix, \
optParams = optParams, \
spPatterns = spPatterns, \
mode = "DE", \
analysis="enrichment");
saveRDS(spaceMarkers, file = "${prefix}/spaceMarkers.rds");
'
cat <<-END_VERSIONS > versions.yml
Expand All @@ -64,4 +65,4 @@ process SPACEMARKERS {
R: \$(Rscript -e 'print(packageVersion("base"))' | awk '{print \$2}')
END_VERSIONS
"""
}
}
3 changes: 1 addition & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ params {
distributed = '"genome-wide"'

max_memory = '128.GB'
max_cpus = 1
max_cpus = 8
max_time = '48.h'
}

Expand Down Expand Up @@ -136,7 +136,6 @@ process {
profiles {
docker {
docker.enabled = true
docker.userEmulation = true
}

singularity {
Expand Down

0 comments on commit 275757d

Please sign in to comment.