Amali Thrimawithana
07/30/2025, 1:59 AM* --input (73.funcscan/samples.csv): Validation of file failed:
-> Entry 1: Object does not have some of the required properties [[gbk]]
-> Entry 2: Object does not have some of the required properties [[gbk]]
-> Entry 3: Object does not have some of the required properties [[gbk]]
-> Entry 4: Object does not have some of the required properties [[gbk]] Are you able to advise on this? thanks in advanceJames Fellows Yates
07/30/2025, 5:14 AMAlexandru Mizeranschi
07/30/2025, 5:17 AMJames Fellows Yates
07/30/2025, 6:11 AMJames Fellows Yates
07/30/2025, 6:11 AMAmali Thrimawithana
07/30/2025, 11:47 PMsample,fasta,protein,gbkk
CB_1666,BinningMAGs_spadesHybrid_coasm/65.fungi_magSet/CB_1666.fa,BinningMAGs_spadesHybrid_coasm/67.metaeuk_fungi/CB_1666.faa,BinningMAGs_spadesHybrid_coasm/67.metaeuk_fungi/CB_1666.gbk
SHC_OL_mincv33.1,BinningMAGs_spadesHybrid_coasm/65.fungi_magSet/SHC_OL_mincv33.1.fa,BinningMAGs_spadesHybrid_coasm/67.metaeuk_fungi/SHC_OL_mincv33.1.faa,BinningMAGs_spadesHybrid_coasm/67.metaeuk_fungi/SHC_OL_mincv33.1.gbkAmali Thrimawithana
07/31/2025, 1:18 AMJuly-31 11:42:25.503 [Task submitter] INFO nextflow.Session - [41/26314e] Submitted process > NFCORE_FUNCSCAN:FUNCSCAN:ARG:FARGENE (SHC_OS_mincv33.70|class_c)
July-31 11:42:25.585 [TaskFinalizer-2] DEBUG nextflow.processor.TaskProcessor - Process NFCORE_FUNCSCAN:FUNCSCAN:BGC:GECCO_RUN > Skipping output binding because one or more optional files are missing: fileoutparam4:1
July-31 11:42:25.585 [TaskFinalizer-1] DEBUG nextflow.processor.TaskProcessor - Process NFCORE_FUNCSCAN:FUNCSCAN:ARG:FARGENE > Skipping output binding because one or more optional files are missing: fileoutparam3:1
July-31 11:42:25.596 [TaskFinalizer-1] DEBUG nextflow.processor.TaskProcessor - Process NFCORE_FUNCSCAN:FUNCSCAN:ARG:FARGENE > Skipping output binding because one or more optional files are missing: fileoutparam4:1
July-31 11:42:25.596 [TaskFinalizer-1] DEBUG nextflow.processor.TaskProcessor - Process NFCORE_FUNCSCAN:FUNCSCAN:ARG:FARGENE > Skipping output binding because one or more optional files are missing: fileoutparam5:1
July-31 11:42:25.596 [TaskFinalizer-1] DEBUG nextflow.processor.TaskProcessor - Process NFCORE_FUNCSCAN:FUNCSCAN:ARG:FARGENE > Skipping output binding because one or more optional files are missing: fileoutparam6:1
while deepBGC following
ERROR ~ Error executing process > 'NFCORE_FUNCSCAN:FUNCSCAN:BGC:DEEPBGC_PIPELINE (SHC_OS_mincv33.115)'
Caused by:
Process `NFCORE_FUNCSCAN:FUNCSCAN:BGC:DEEPBGC_PIPELINE (SHC_OS_mincv33.115)` terminated with an error exit status (1)
Command executed:
export DEEPBGC_DOWNLOADS_DIR=deepbgc_db
deepbgc \
pipeline \
--score 0.5 --prodigal-meta-mode --merge-max-protein-gap 0 --merge-max-nucl-gap 0 --min-nucl 1 --min-proteins 1 --min-domains 1 --min-bio-domains 0 --classifier-score 0.5 \
SHC_OS_mincv33.115.gbk
if [[ "SHC_OS_mincv33.115/" != "SHC_OS_mincv33.115/" ]]; then
mv "SHC_OS_mincv33.115/" "SHC_OS_mincv33.115/"
fi
for i in $(find -name 'SHC_OS_mincv33.115*' -type f); do
mv $i ${i/SHC_OS_mincv33.115/SHC_OS_mincv33.115};
done
cat <-END_VERSIONS versions.yml
"NFCORE_FUNCSCAN:FUNCSCAN:BGC:DEEPBGC_PIPELINE":
deepbgc: $(echo $(deepbgc info 2>&1 /dev/null/ | grep 'version' | cut -d " " -f3) )
prodigal: $(prodigal -v 2>&1 | sed -n 's/Prodigal V\(.*\):.*/\1/p')
END_VERSIONS
Command exit status:
1
Command output:
(empty)
Command error:
/usr/local/lib/python3.7/site-packages/sklearn/base.py:306: UserWarning: Trying to unpickle estimator RandomForestClassifier from version 0.18.2 when using version 0.21.3. This might lead to breaking code or invalid results. Use at your own risk.
UserWarning)
INFO 30/07 23:46:37 Loading model from: deepbgc_db/0.1.0/classifier/product_activity.pkl
INFO 30/07 23:46:37 Processing input file 1/1: SHC_OS_mincv33.115.gbk
INFO 30/07 23:46:37 ================================================================================
INFO 30/07 23:46:37 Processing record #1: NODE_10000_length_15598_cov_3.693045
WARNING 30/07 23:46:37 Trimming long record locus "NODE_10000_length_15598_cov_3.693045" to "NODE_10000_lengt..."
ERROR 30/07 23:46:37 No recognized protein ID for feature: type: CDS
location: [4314:4449](-)
qualifiers:
Key: Parent, Value: ['UniRef90_A0A2X0M2J1|NODE_10000_length_15598_cov_3. 693045|-|5034_exon_0']
Key: TCS_ID, Value: ['UniRef90_A0A2X0M2J1|NODE_10000_length_15598_cov_3. 693045|-|5034_CDS_0']
Key: Target_ID, Value: ['UniRef90_A0A2X0M2J1']
Key: score, Value: ['50']
Key: source, Value: ['MetaEuk']
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/deepbgc/main.py", line 113, in main
run(argv)
File "/usr/local/lib/python3.7/site-packages/deepbgc/main.py", line 102, in run
args.func.run(**args_dict)
File "/usr/local/lib/python3.7/site-packages/deepbgc/command/pipeline.py", line 177, in run
step.run(record)
File "/usr/local/lib/python3.7/site-packages/deepbgc/pipeline/annotator.py", line 17, in run
util.fix_duplicate_cds(record)
File "/usr/local/lib/python3.7/site-packages/deepbgc/util.py", line 494, in fix_duplicate_cds
protein_id = get_protein_id(feature)
File "/usr/local/lib/python3.7/site-packages/deepbgc/util.py", line 131, in get_protein_id
return get_protein_ids(feature)[0]
File "/usr/local/lib/python3.7/site-packages/deepbgc/util.py", line 126, in get_protein_ids
raise NotImplementedError('No recognized protein ID for feature: {}'.format(feature))
NotImplementedError: No recognized protein ID for feature: type: CDS
location: [4314:4449](-)
qualifiers:
Key: Parent, Value: ['UniRef90_A0A2X0M2J1|NODE_10000_length_15598_cov_3. 693045|-|5034_exon_0']
Key: TCS_ID, Value: ['UniRef90_A0A2X0M2J1|NODE_10000_length_15598_cov_3. 693045|-|5034_CDS_0']
Key: Target_ID, Value: ['UniRef90_A0A2X0M2J1']
Key: score, Value: ['50']
Key: source, Value: ['MetaEuk']
ERROR 30/07 23:46:37 ================================================================================
ERROR 30/07 23:46:37 DeepBGC failed with NotImplementedError: No recognized protein ID for feature: type: CDS
location: [4314:4449](-)
qualifiers:
Key: Parent, Value: ['UniRef90_A0A2X0M2J1|NODE_10000_length_15598_cov_3. 693045|-|5034_exon_0']
Key: TCS_ID, Value: ['UniRef90_A0A2X0M2J1|NODE_10000_length_15598_cov_3. 693045|-|5034_CDS_0']
Key: Target_ID, Value: ['UniRef90_A0A2X0M2J1']
Key: score, Value: ['50']
Key: source, Value: ['MetaEuk']
ERROR 30/07 23:46:37 ================================================================================
so was wondering if the naming system might be causing issues perhaps? Have you run through metaeuk output before. Any advice would be much appreciated
Ps: I used a slightly edited version of the following to make the gbk file - https://github.com/chundruv/GFF-to-GenBankJasmin Frangenberg
08/01/2025, 9:42 AMprotein ID for CDS regions). Unfortunately, these files are not really standardized, so if Metaeuk produces different tags than other tools expect, no GBK converter could fix this. Here is an example GBK from Prokka that works with all tools of funcscan; it contains protein ID tags for CDS regions. You might compare it with your GBK file and check if it the format/tags can be fixed somehow upstream?Amali Thrimawithana
08/05/2025, 12:37 AMJasmin Frangenberg
08/05/2025, 10:19 AMSkipping output binding error just happened to me as well ā it is not actually an error. Just an info, that optional files are not produced and won't be included in the tool's output channels. fargene and deepbgc (or in my case ampcombi/parsetables) have both multiple optional output channels, so it's not surprising to see this message.