sdparekh / zUMIs

zUMIs: A fast and flexible pipeline to process RNA sequencing data with UMIs
GNU General Public License v3.0
275 stars 68 forks source link

Error in fread(paste0(opt$out_dir, "/zUMIs_output/", opt$project, "kept_barcodes_binned.txt")) #357

Closed shangyf-stu closed 1 year ago

shangyf-stu commented 1 year ago

Hello! I encountered an error while running the code, but couldn't find the reason.

Here is my error message: /zUMIs_v2.9.7d/zUMIs/zUMIs.sh: line 285: 1216 Killed ${Rexc} ${zumisdir}/zUMIs-BCdetection.R ${yaml} Error in fread(paste0(opt$out_dir, "/zUMIs_output/", opt$project, "kept_barcodes_binned.txt")) : File '/dataset456/zUMIs/zUMIs_output/dataset456kept_barcodes_binned.txt' does not exist or is non-readable. getwd()=='/zUMIs' Execution halted Loading required package: yaml Loading required package: Matrix Error in gzfile(file, "rb") : cannot open the connection Calls: rds_to_loom -> readRDS -> gzfile In addition: Warning message: In gzfile(file, "rb") : cannot open compressed file '/dataset456/zUMIs/zUMIs_output/expression/dataset456.dgecounts.rds', probable reason 'No such file or directory' Execution halted Error in gzfile(file, "rb") : cannot open the connection Calls: readRDS -> gzfile In addition: Warning message: In gzfile(file, "rb") : cannot open compressed file '/dataset456/zUMIs/zUMIs_output/expression/dataset456.dgecounts.rds', probable reason 'No such file or directory' Execution halted

To Reproduce Here is my yaml file: `project: dataset456 sequence_files: file1: name: /dataset456/filter_fastp/dataset456_clean_1.fastq.gz base_definition:

shangyf-stu commented 1 year ago

The format of the yaml file is not convenient for viewing, I will send it again.

project: dataset456 sequence_files: file1: name: /dataset456/filter_fastp/dataset456_clean_1.fastq.gz base_definition:

cziegenhain commented 1 year ago

Seems like your job got killed for external reasons during barcode correction, could it be that you ran out of memory or similar?

shangyf-stu commented 1 year ago

Yes, the operation of zUMIs has been stopped due to ran out of memory. I have encountered this type of problem twice, probably including the kill error, all of which are caused by this reason. Thank you for your patient answer. Additionally, I have encountered difficulties in library that contains multiple barcodes, and I will create a new issue.