freejstone / CONGA

Implementation of the CONGA algorithm for a combined open and narrow search between experimental spectra and a peptide database.
MIT License
3 stars 1 forks source link

Error when running on tutorial example comet results #6

Closed mriffle closed 1 year ago

mriffle commented 1 year ago

See the following error output when running CONGA on the example comet results and my own comet results:

CPU: Linux-5.4.0-110-generic-x86_64-with-glibc2.31
2023-01-12 18:24:04.526551
Command used: /usr/local/bin/CONGA.py --score e-value narrow_example1.comet.txt open_example1.comet.txt
Successfully read in arguments.
Reading in search files.
Successfully read in search files.
e-value successfully found in search files.
Comet search files detected.
Separate search files detected.
Searching for decoy files in same directory.
Successfully read in decoy search files.
No decoys were found in one of the decoy search files.

Command I ran was: python3 /usr/local/bin/CONGA.py --score e-value narrow_example1.comet.txt open_example1.comet.txt

mriffle commented 1 year ago

Looks like this is fixed by adding --dcy_prefix DECOY_ to the example command in the tutorial.

freejstone commented 1 year ago

Thanks Mike, as per Bill's suggestion I have also updated the error message to specify which decoy search file was problematic:

INFO: CPU: macOS-10.16-x86_64-i386-64bit
INFO: 2023-01-13 10:42:30.029576
INFO: Command used: CONGA.py --dcy_prefix testing_decoy_error_ --score e-value docs/pages/files/comet/narrow_example1.comet.txt docs/pages/files/comet/open_example1.comet.txt
INFO: Successfully read in arguments
INFO: Reading in search files.
INFO: Successfully read in search files.
INFO: e-value successfully found in search files. 

INFO: Comet search files detected.
INFO: Separate search files detected.
INFO: Searching for decoy files in same directory.
INFO: Successfully read in decoy search files.
INFO: No decoys were found in docs/pages/files/comet/narrow_example1.comet.txt.