Closed scienception closed 1 year ago
Try using "
around --scorefile parameter:
--scorefile "PGS_scores/*.txt.gz"
Your shell is probably automatically expanding the wildcard character which causes problems, using quotes prevents this.
That worked, thanks again!
When I submit the following:
nextflow-23.04.2-all run pgsc_calc/main.nf -profile singularity --input ./samplesheet.csv --scorefile PGS_scores/*.txt.gz --target_build GRCh37 --ref pgsc_calc_ref.sqlar
I would expect for it to work for all scorefiles in PGS_scores, however it only computes the first.
This is the output file, shouldn't
scorefile
contain all scores in PGS_scores?This is what PGS_scores directory looks like:
The
results/score/aggregated_scores.txt.gz
file also contains only PGS001828 score: