Skip to content
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

Get_Proteins_app issues #303

Closed
asd1864714 opened this issue May 5, 2024 · 14 comments
Closed

Get_Proteins_app issues #303

asd1864714 opened this issue May 5, 2024 · 14 comments

Comments

@asd1864714
Copy link

./pgap.py -n -o out_directory -g sequence.fasta -s Staphylococcus

cwltool.log

I don't know what the problem is anymore, the last version worked fine

@azat-badretdin
Copy link
Contributor

Thank you for your report, user @asd1864714

Could you please provide sequence.fasta?

The error in bacterial_prot_src

Stack trace (most recent call last):
#9    Object "", at 0xffffffffffffffff, in 
#8    Object "/panfs/pan1.be-md.ncbi.nlm.nih.gov/gpipe/bacterial_pipeline/system/2024-04-27.build7426/arch/x86_64/bin/bacterial_prot_src", at 0x40812d, in _start
#7    Object "/usr/lib64/libc-2.28.so", at 0x7f25ff460d84, in __libc_start_main
#6    Object "/panfs/pan1.be-md.ncbi.nlm.nih.gov/gpipe/bacterial_pipeline/system/2024-04-27.build7426/arch/x86_64/bin/bacterial_prot_src", at 0x407f89, in main
#5    Source "/export/home/gpipe/TeamCity/Agent3/work/427aceaa834ecbb6/ncbi_cxx/src/corelib/ncbiapp.cpp", line 1024, in AppMain [0x7f2600f827ac]
#4    Source "/export/home/gpipe/TeamCity/Agent3/work/427aceaa834ecbb6/ncbi_cxx/src/corelib/ncbiapp.cpp", line 711, in x_TryMain [0x7f2600f7f0d2]
#3    Object "/panfs/pan1.be-md.ncbi.nlm.nih.gov/gpipe/bacterial_pipeline/system/2024-04-27.build7426/arch/x86_64/bin/bacterial_prot_src", at 0x40ef41, in CBacterialProtSrcApp::Run()
#2    Object "/panfs/pan1.be-md.ncbi.nlm.nih.gov/gpipe/bacterial_pipeline/system/2024-04-27.build7426/arch/x86_64/bin/bacterial_prot_src", at 0x40b970, in CBacterialProtSrcApp::GetProtInfInputSQLite(int, ncbi::CUnicollDumpAccess&, std::__cxx11::list<SDatabase_input, std::allocator<SDatabase_input> >&)
#1    Object "/panfs/pan1.be-md.ncbi.nlm.nih.gov/gpipe/bacterial_pipeline/system/2024-04-27.build7426/arch/x86_64/bin/bacterial_prot_src", at 0x409319, in 
#0    Object "/panfs/pan1.be-md.ncbi.nlm.nih.gov/gpipe/bacterial_pipeline/system/2024-04-27.build7426/arch/x86_64/bin/bacterial_prot_src", at 0x4128a4, in void ncbi::CDiagBuffer::Put<int>(ncbi::CNcbiDiag const&, int const&)
Segmentation fault (Address not mapped to object [0xfffffffffffffffc])

could you please provide the system characteristics as well? They are usually an output on top of cwltool.log but not this time.

Thanks.

@asd1864714
Copy link
Author

I just downloaded a sequence at NCBI as a test, this is my system version:
Ubuntu 20.04.4 LTS
sequence.zip

@azat-badretdin
Copy link
Contributor

Thanks. Ubuntu has been a tough nut for us historically, although we seem to be handling it better recently.

But let me first try to reproduce this locally

@azat-badretdin
Copy link
Contributor

I am getting closer to locating the source of error here.

Meanwhile, I recommend to use, as a workaround, the species name instead of just genus.

@asd1864714
Copy link
Author

Ok thanks, I've tried using species names before but that didn't work either

@azat-badretdin
Copy link
Contributor

It should work for this species:


$ sqlite3 taxonomy.sqlite3 " select count(*) from taxidinfo where taxid=3051183"
-- Loading resources from /home/badrazat/.sqliterc
count(*)
1

```
it is present in our taxonomy

@asd1864714
Copy link
Author

Yes, it is Staphylococcus hsinchuensis. Sorry, I am not proficient in coding. I tried reinstalling docker, but the same problem still occurred. I will try to install it on the CentOS machine later.

@azat-badretdin
Copy link
Contributor

This species name was renamed after we prepared release on 4/28 (see the release version). You might have better luck with the old recognized name "Staphylococcus sp. H164"

@azat-badretdin
Copy link
Contributor

You might have better luck with the old recognized name "Staphylococcus sp. H164"

I verified locally that this solution works

@asd1864714
Copy link
Author

Thanks for your patient answer, it's working fine now

@azat-badretdin
Copy link
Contributor

Glad to hear that! We will keep the Issue open. The issue of -s genus not working remains.

@asd1864714
Copy link
Author

Hello, I found that adding “sp.” after the genus can run normally. It may help you find the problem. For example: ./pgap.py -n -o out_directory -g sequence.fasta -s "Frankia" is changed to ./pgap.py -n -o out_directory -g sequence.fasta -s "Frankia sp."

@azat-badretdin
Copy link
Contributor

Thank you for your help, user @asd1864714 ! We appreciate your input very much.

Yes, we located the code that caused this regression of functionality and we are working on fixing it soon.

@azat-badretdin
Copy link
Contributor

The code is fixed and the fix will be available as part of next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants