Skip to content

Commit cff6af0

Browse files
committed
fix db path in RDS threshold calculation script
1 parent 83a335d commit cff6af0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

db-scripts/compute-rds-thresholds.nf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import java.nio.file.*
66

77

88
// Parameters
9-
mpsPath = Paths.get( params.mps ).toRealPath()
10-
contigsPath = Paths.get( params.contigs ).toRealPath()
11-
pcDb = Paths.get( params.pcDb ).toRealPath()
9+
mpsPath = Paths.get( params.mps ).toRealPath()
10+
contigsPath = Paths.get( params.contigs ).toRealPath()
11+
pcDb = Paths.get( params.pcDb ).toRealPath()
1212

1313

1414
// Constants
@@ -38,7 +38,7 @@ process searchProts {
3838
errorStrategy 'retry'
3939
maxRetries 3
4040
cpus 1
41-
memory '2 GB'
41+
memory '2.5 GB'
4242

4343
input:
4444
set val(type), val(id), val(subSequence) from chContigs
@@ -52,7 +52,7 @@ process searchProts {
5252
prodigal -i seq.fna -a cdss.faa -p meta
5353
if [ -s cdss.faa ]
5454
then
55-
diamond blastp --query cdss.faa --db ${pcDB}/mps.dmnd --threads ${task.cpus} --out output.tsv --max-target-seqs 1 --id 90 --query-cover 80 --subject-cover 80
55+
diamond blastp --query cdss.faa --db ${pcDb} --threads ${task.cpus} --out output.tsv --max-target-seqs 1 --id 90 --query-cover 80 --subject-cover 80
5656
else
5757
touch output.tsv
5858
fi

0 commit comments

Comments
 (0)