ITADN

Error at concot_covera_table.py

#1015Openbioinfo-arctic 创建于 2026-04-08
bug
B
bioinfo-arcticcommented
### Description of the bug I am finding hard to debug this error. Does any one have a tip on what could it be? <img width="2311" height="937" alt="Image" src="https://github.com/user-attachments/assets/15d4133e-2bc5-4bcc-972e-c87df751a1d4" /> ### Command used and terminal output ```console nextflow run nf-core/mag -r 5.3.0 -profile docker -c new_test_file.config --input samplesheet2samples.csv --outdir nextflow_new_config_file_full_pipeline_2026/ --gtdb_db /rgg-storage/dmo042/EMOBON_mags_run/databases/gtdbtk_r226_data.tar.gz --skip_spades -resume Mar-31 03:11:39.018 [TaskFinalizer-6] ERROR nextflow.processor.TaskProcessor - Error executing process > 'NFCORE_MAG:MAG:BINNING:FASTA_BINNING_CONCOCT:CONCOCT_CONCOCTCOVERAGETABLE (UMF)' Caused by: Process `NFCORE_MAG:MAG:BINNING:FASTA_BINNING_CONCOCT:CONCOCT_CONCOCTCOVERAGETABLE (UMF)` terminated with an error exit status (1) Command executed: concoct_coverage_table.py \ \ MEGAHIT-CONCOCT-UMF.bed \ MEGAHIT-UMF-UMF.bam \ > MEGAHIT-CONCOCT-UMF.tsv cat <<-END_VERSIONS > versions.yml "NFCORE_MAG:MAG:BINNING:FASTA_BINNING_CONCOCT:CONCOCT_CONCOCTCOVERAGETABLE": concoct: $(echo $(concoct --version 2> /dev/null) | sed 's/concoct //g' ) END_VERSIONS Command exit status: 1 Command output: (empty) Command error: Traceback (most recent call last): File "/usr/local/bin/concoct_coverage_table.py", line 91, in <module> generate_input_table(args.bedfile, args.bamfiles, samplenames=samplenames) File "/usr/local/bin/concoct_coverage_table.py", line 41, in generate_input_table sys.stderr.write(out) TypeError: write() argument must be str, not bytes Work dir: /scratchdata/dmo042/EMOBON_Metagenome_Assembly/Tromso_station_3um/assembly/work/b6/90117dd0dc44724def266835b39b37 Container: quay.io/biocontainers/concoct:1.1.0--py39h8907335_8 <img width="2311" height="937" alt="Image" src="https://github.com/user-attachments/assets/15d4133e-2bc5-4bcc-972e-c87df751a1d4" /> ``` ### Relevant files [nextflow.log](https://github.com/user-attachments/files/26565169/nextflow.log) ### System information nextflow version 25.04.5.5953 Local server, Linux spygene2 5.15.0-174-generic #184-Ubuntu SMP Fri Mar 13 18:41:50 UTC 2026 x86_64 GNU/Linux No queue system. Docker version 28.2.2, build 28.2.2-0ubuntu1~22.04.1 Ubuntu 22.04.5 LTS nf-core/mag 5.3.0
0 条评论