DiTing
DiTing copied to clipboard
When input .fastq.gz files ,it gets wrong
-----Here is the wrong code----- 2022-08-19 23:41:23 [INFO ] User input: /home/miniconda3/envs/diting-env/bin/diting.py -r rawdata -o testone -n 120 [1/12] Check database* 2022-08-19 23:41:23 [INFO ] The KEGG database is set 2022-08-19 23:41:23 [INFO ] The DMSP database is set 2022-08-19 23:41:23 [INFO ] [2/12] Metagenomic assembly* 2022-08-19 23:41:23 [INFO ] Megahit Assembly for GZ36_GJ_1.raw 2022-08-19 23:41:23 [INFO ] Metagenomic assembly by MEGAHIT started 2022-08-19 23:41:23 [INFO ] megahit -1 rawdata/GZ36_GJ_1.raw_1.fastq.gz -2 rawdata/GZ36_GJ_1.raw_2.fastq.gz -o testone/assembly_tmp -t 120 2022-08-19 23:41:23 - MEGAHIT v1.2.9 2022-08-19 23:41:23 - Using megahit_core with POPCNT support 2022-08-19 23:41:23 - Convert reads to binary library gzip: /home/rawdata/GZ36_GJ_1.raw_1.fastq.gz: invalid compressed data--crc error
gzip: /home/rawdata/GZ36_GJ_1.raw_1.fastq.gz: invalid compressed data--length error
2022-08-19 23:43:07 - b'INFO sequence/io/sequence_lib.cpp : 75 - Lib 0 (/home/rawdata/GZ36_GJ_1.raw_1.fastq.gz,/home/rawdata/GZ36_GJ_1.raw_2.fastq.gz): pe, 46229166 reads, 150 max length'
2022-08-19 23:43:07 - b'INFO utils/utils.h : 152 - Real: 103.7972\tuser: 72.1272\tsys: 10.2173\tmaxrss: 248000'
2022-08-19 23:43:07 - Error occurs when reading inputs
Traceback (most recent call last):
File "/home/miniconda3/envs/diting-env/bin/diting.py", line 259, in
Could you tell me how to solve the problem? Thanks a lot
hi @ArthurKaslen ,
It looks like the program had a problem when trying to unzip your fastq.gz file. Could you check the data integrity of the .gz files? A typical scenario is that people have incomplete or corrupted reads files during data transmission. Or you could try unzipping your fastq.gz file manually first and then run the program.
Regards, Heyu
okay,thanks