Skip to content

Commit

Permalink
moved basedDir to projectDir
Browse files Browse the repository at this point in the history
  • Loading branch information
toniher committed Oct 21, 2024
1 parent 0d23109 commit 40b536e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,20 +142,20 @@ For the pipeline to run, a `params.config` file with the following format has to

```
params {
cluster = "$baseDir/test/hg38_mm10_bosTau9.tab"
genomes = "$baseDir/test/GENOMES/*_gDNA.fasta.gz"
annotations = "$baseDir/test/GTF/*_annot.gtf.gz"
cluster = "$projectDir/test/hg38_mm10_bosTau9.tab"
genomes = "$projectDir/test/GENOMES/*_gDNA.fasta.gz"
annotations = "$projectDir/test/GTF/*_annot.gtf.gz"
alignmentnum = 1000
orthogroupnum = 500
extraexons = ""
bonafide_pairs = ""
orthopairs = ""
evodists = "$baseDir/test/evodists.txt"
evodists = "$projectDir/test/evodists.txt"
long_dist = "2,0.10,0.40,0.15"
medium_dist = "2,0.30,0.60,0.20"
short_dist = "2,0.50,0.60,0.25"
prevaln = ""
output = "$baseDir/output_test"
output = "$projectDir/output_test"
email = "yourmail@yourdomain"
}
```
Expand Down Expand Up @@ -496,8 +496,8 @@ A template of the params.config file is provided together with the pipeline.
```
params {
geneID = "ENSG00000159055"
output = "$baseDir/../output_test"
output_plot = "$baseDir/output_exint"
output = "$projectDir/../output_test"
output_plot = "$projectDir/output_exint"
relevant_exs = "chr21:32274830-32274896"
ordered_species = "hg38,mm10,bosTau9"
isoformID = "ENSP00000290130"
Expand Down
2 changes: 1 addition & 1 deletion main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ workflow {
gtfs = Channel.fromPath(params.annotations).collect()
fastas = Channel.fromPath(params.genomes).collect()

blosumfile = Channel.fromPath("${baseDir}/files/blosum62.txt", checkIfExists: true).collect()
blosumfile = Channel.fromPath("${projectDir}/files/blosum62.txt", checkIfExists: true).collect()

// TODO: Review this in an easier way
gtfs_suffix = Channel.fromFilePairs(params.annotations, size: 1).flatten().collate(2).map{[it[1].getName().toString().split(it[0].toString())[1]]}.unique().flatten()
Expand Down
2 changes: 1 addition & 1 deletion modules/local/exorthist/plot/plot.nf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ process PLOT_EXINT {

script:
"""
Rscript $baseDir/bin/exint_plotter.R ${my_geneID} ${my_query_species} ${baseDir}/bin ${gene_clusters} ${ordered_target} ${isoform_interesting_exs} ${relevant_exons}
Rscript ${projectDir}/bin/exint_plotter.R ${my_geneID} ${my_query_species} ${projectDir}/bin ${gene_clusters} ${ordered_target} ${isoform_interesting_exs} ${relevant_exons}
"""
}
4 changes: 2 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {
id '[email protected]'
}

includeConfig "$baseDir/params.config"
includeConfig "$projectDir/params.config"


process {
Expand Down Expand Up @@ -63,7 +63,7 @@ process {

process.container = 'perl:5.24-threaded-buster'
//singularity.enabled = true
singularity.cacheDir = "$baseDir/singularity"
singularity.cacheDir = "$projectDir/singularity"

// Modify accordig to cloud parameters
profiles {
Expand Down

0 comments on commit 40b536e

Please sign in to comment.