You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to download a SRP project with 25000 crashes the pipeline at SRA_MERGE_SAMPLESHEET
The reason for this is that the list of files handed over is too long for bash commands. Probably chunking or handling it by reading in a list of files in a python script is probably a good way to circumvent this.
Command used and terminal output
nextflow run /path/to/fetchngs/ -profile singularity --input ids.csv --dbgap_key prj_34697.ngc --outdir out/ --skip_fastq_download -resumeERROR ~ Error executing process > 'NFCORE_FETCHNGS:SRA:SRA_MERGE_SAMPLESHEET'Caused by: Process `NFCORE_FETCHNGS:SRA:SRA_MERGE_SAMPLESHEET` terminated with an error exit status (139)Command executed: cp ./samplesheets/* ~/tmp/ cp ./mappings/* ~/tmp/ head -n 1 `ls ./samplesheets/* | head -n 1` > samplesheet.csv for fileid in `ls ./samplesheets/*`; do awk 'NR>1' $fileid >> samplesheet.csv done head -n 1 `ls ./mappings/* | head -n 1` > id_mappings.csv for fileid in `ls ./mappings/*`; do awk 'NR>1' $fileid >> id_mappings.csv done cat <<-END_VERSIONS > versions.yml "NFCORE_FETCHNGS:SRA:SRA_MERGE_SAMPLESHEET": sed: $(echo $(sed --version 2>&1) | sed 's/^.*GNU sed) //; s/ .*$//') END_VERSIONSCommand exit status: 139Command output: (empty)Work dir:
Prefetching large studies resulted in error stated in issue
nf-core#236
Resolved this by handing over text file with filepaths instead
of list of filepaths. Rewrote sra_merge_samplesheet accordingly.
Tested with study with ~25k samples.
Description of the bug
Trying to download a SRP project with 25000 crashes the pipeline at SRA_MERGE_SAMPLESHEET
The reason for this is that the list of files handed over is too long for bash commands. Probably chunking or handling it by reading in a list of files in a python script is probably a good way to circumvent this.
Command used and terminal output
Relevant files
No response
System information
NF version: 23.04.2
Hardware: HPC
Executor: local
Container: Singularity
OS: CentOS
Version: 1.11
The text was updated successfully, but these errors were encountered: