-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dbCAN-sub error #129
Comments
please use fasta format for the seqs (i.e., put '>' in front of seq IDs).
0A023FBW4 E1142_AMBCJ
MTSHGAVKIAIFAVIALHSIFECLSKPQILQRTDHSTDSDWDPQMCPETCNPSKNISCSSECLCVTLGGGDETGTCFNMSGVDWLGHAQASDGHNDG
…________________________________
From: typhainepl ***@***.***>
Sent: Thursday, September 7, 2023 10:25 AM
To: linnabrown/run_dbcan ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [linnabrown/run_dbcan] dbCAN-sub error (Issue #129)
Non-NU Email
________________________________
Hi,
I'm encountering an error while trying to run dbCAN, and it appears to be related to the output generation. Any assistance you could provide would be greatly appreciated.
I've installed dbcan through conda.
The command I am running is the following:run_dbcan test_seq.faa protein --out_dir test_2
The output and error message:
`
1. DIAMOND start**********************
diamond v2.1.8.162 (C) Max Planck Society for the Advancement of Science, Benjamin Buchfink, University of Tuebingen
Documentation, support and updates available at http://www.diamondsearch.org<https://urldefense.com/v3/__http://www.diamondsearch.org__;!!PvXuogZ4sRB2p-tU!DHpGHlXIHmgaG9JfVh6CGdDdOppnatHSkK2k6JAbxKAYUVdfA1pvwVgAdLAsgQ-e-w9r--rgl_xUkCOe0VqH4g$>
Please cite: http://dx.doi.org/10.1038/s41592-021-01101-x<https://urldefense.com/v3/__http://dx.doi.org/10.1038/s41592-021-01101-x__;!!PvXuogZ4sRB2p-tU!DHpGHlXIHmgaG9JfVh6CGdDdOppnatHSkK2k6JAbxKAYUVdfA1pvwVgAdLAsgQ-e-w9r--rgl_xUkCOsnQp-Tw$> Nature Methods (2021)
#CPU threads: 4
Scoring parameters: (Matrix=BLOSUM62 Lambda=0.267 K=0.041 Penalties=11/1)
Temporary directory: test_2
#Target sequences to report alignments for: 1
Opening the database... [0.08s]
Database: db/CAZy (type: Diamond database, sequences: 2428817, letters: 1157024505)
Block size = 2000000000
Building query seed set... [0s]
Algorithm: Query-indexed
Building query histograms... [0s]
Seeking in database... [0s]
Loading reference sequences... [3.2s]
Initializing temporary storage... [0.014s]
Building reference histograms... [6.609s]
Allocating buffers... [0s]
Processing query block 1, reference block 1/1, shape 1/2.
Building reference seed array... [2.74s]
Building query seed array... [0s]
Computing hash join... [0.058s]
Searching alignments... [0s]
Deallocating memory... [0s]
Processing query block 1, reference block 1/1, shape 2/2.
Building reference seed array... [4.652s]
Building query seed array... [0s]
Computing hash join... [0.515s]
Searching alignments... [0.001s]
Deallocating memory... [0s]
Deallocating buffers... [0.009s]
Clearing query masking... [0s]
Computing alignments... Loading trace points... [0.004s]
Sorting trace points... [0s]
Computing alignments... [0.001s]
Deallocating buffers... [0s]
Loading trace points... [0s]
[0.007s]
Deallocating reference... [0.007s]
Loading reference sequences... [0s]
Deallocating buffers... [0s]
Deallocating queries... [0s]
Total time = 17.908s
Reported 0 pairwise alignments, 0 HSPs.
0 queries aligned.
1. DIAMOND end************************
2. HMMER start**********************
2. HMMER end************************
3. dbCAN_sub start************************
ID count: 8
total time: 5.017667531967163
3. dbCAN_sub end************************
Traceback (most recent call last):
File "/homes/typhaine/miniconda3/envs/run_dbcan/bin/run_dbcan", line 10, in
sys.exit(cli_main())
File "/homes/typhaine/miniconda3/envs/run_dbcan/lib/python3.8/site-packages/dbcan_cli/run_dbcan.py", line 883, in cli_main
run(inputFile=args.inputFile, inputType=args.inputType, cluster=args.cluster, dbCANFile=args.dbCANFile,
File "/homes/typhaine/miniconda3/envs/run_dbcan/lib/python3.8/site-packages/dbcan_cli/run_dbcan.py", line 290, in run
with open(f"{outPath}dbsub.out") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'test_2/dbsub.out'
`
My input file (test_seq.faa) looks like this:
`
0A023FBW4 E1142_AMBCJ
MTSHGAVKIAIFAVIALHSIFECLSKPQILQRTDHSTDSDWDPQMCPETCNPSKNISCSSECLCVTLGGGDETGTCFNMSGVDWLGHAQASDGHNDG
A0A023FF81 E1126_AMBCJ
MTSHSAVRIAIFAVIALHSIFECLSKPQILQRTDKSTDSEWDPQTCPETCIPSKNITCSDGCVCVKLGEEEEGTCFNMTGVDWLGSPSDD
A0A023PXA5 YA19A_YEAST
MLLSELVATASSLPYTAISIHNNCRVPAARHIHHGCRYFHGPPVMHLPQCLRTIQFSPSVISTSYQIPVICQHHAVVPTARYLPDYCSIISWHRPLWGIHILIVPQSQLPLPIRPKRIHTTHRYKPVIAFNDHIPSLALWICLHYQGSNGCVTPVAAKFFIIFHFVGLKEIMSPSRNATRNLNQYWRVL
A0A023PXB5 IRC2_YEAST
MFALIISSKGKTSGFFFNSSFSSSALVGIAPLTAYSALVTPVFKSFLVILPAGLKSKSFAVNTPFKSCWCVIVMCSYFFCVYHLQKQHYCGAPSLYSYLLCL
A0A023PXC2 YE53A_YEAST
MLPLCLTFLSFFLSLGGSFKAVMTKEEADGTTEAAACLFWIFNWTVTLIPLNSLVALAISSPTFFGDRPKGPIFGAKAAEAPTSPPTALRYKYLTSLGSNFGGIFVYPLFLLSTF
A0A023PXD3 YE88A_YEAST
MTRLPPIPRMTVTLTTRPAVPTCNEGSSILHYIYIPIYEPNEQKEKRRRKTPPEPRAYTTTTTIATNSRISGCSLTLEDGIHLRGKRAETARLPAATPQKRTGPARG
A0A023PXD5 YE147_YEAST
MMTAAKRLGLYSALRACSATVFRSNLHPKVTVATMFCSVGTIPDVAEVSFSDSGAALFMSSSLWKVVAGFVPSRFWFSHTCLVFGSNTILFASLNSFKRSSSAIIKKVSLDTPVYVGLEKKNKMQPLLPCFFRRAV
A0A023PXE5 YH006_YEAST
MDLYPPASWAALVPFCKALTFKVPVVLGNRNPSPPSPLPPMALSLSLLIPLSRLSLSGSSDTADGSLLISCISRGSCGIFRMGCEAVKGRSLGCLLPRSNCTYGCMSLRKYVSVCSM
`
Best,
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/linnabrown/run_dbcan/issues/129__;!!PvXuogZ4sRB2p-tU!DHpGHlXIHmgaG9JfVh6CGdDdOppnatHSkK2k6JAbxKAYUVdfA1pvwVgAdLAsgQ-e-w9r--rgl_xUkCOLzKChdg$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AEXNKZXL44FPYPLJV7GJA6TXZHRPRANCNFSM6AAAAAA4PCQRM4__;!!PvXuogZ4sRB2p-tU!DHpGHlXIHmgaG9JfVh6CGdDdOppnatHSkK2k6JAbxKAYUVdfA1pvwVgAdLAsgQ-e-w9r--rgl_xUkCO4XP34Nw$>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
My input file already has the |
It is not shown in the email, but it is there. |
I will try ur input on my local machine. |
I see, we will look into and get back to you.
…________________________________
From: typhainepl ***@***.***>
Sent: Thursday, September 7, 2023 10:33 AM
To: linnabrown/run_dbcan ***@***.***>
Cc: Yanbin Yin ***@***.***>; Comment ***@***.***>
Subject: Re: [linnabrown/run_dbcan] dbCAN-sub error (Issue #129)
Non-NU Email
________________________________
It is not shown in the email, but it is there.
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/linnabrown/run_dbcan/issues/129*issuecomment-1710365126__;Iw!!PvXuogZ4sRB2p-tU!DobYb8HmElSg-gfc0CWnfguTyu-y3RRp5DOd5tSaCip_DQ-JZkoH_7xoZbLHCO8mUPup7hLuMXz2CNSfrpsNuA$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AEXNKZSF7KYX5WF5SATMWFLXZHSODANCNFSM6AAAAAA4PCQRM4__;!!PvXuogZ4sRB2p-tU!DobYb8HmElSg-gfc0CWnfguTyu-y3RRp5DOd5tSaCip_DQ-JZkoH_7xoZbLHCO8mUPup7hLuMXz2CNT3kBRjPA$>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Thank you! |
Hi @typhainepl , I figured out. It is due to the eval_num and covarage are strict to you (Our default hmm_eval and hmm_cov are 1e-15 and 0.35). Therefore, the parsed file is empty and output does not exist. We did not have this kind of problem so we think the file exists in default.
|
This is e-value
|
Thank you for investigating and getting back to me. I'll change the e-value and coverage to see if I can get some results, but it would be great if you can take into account the possibility of having empty results in the pipeline. |
Hi,
I'm encountering an error while trying to run dbCAN, and it appears to be related to the output generation. Any assistance you could provide would be greatly appreciated.
I've installed dbcan through conda.
The command I am running is the following:
run_dbcan test_seq.faa protein --out_dir test_2
The output and error message:
My input file (test_seq.faa) looks like this:
Best,
Typhaine
The text was updated successfully, but these errors were encountered: