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

Custom-database CLI #106

Closed
zmahnoor14 opened this issue Mar 7, 2023 · 4 comments
Closed

Custom-database CLI #106

zmahnoor14 opened this issue Mar 7, 2023 · 4 comments
Assignees

Comments

@zmahnoor14
Copy link

zmahnoor14 commented Mar 7, 2023

Hello SIRIUS developers,

I am currently using SIRIUS 5.6.3 CLI version and following the documentation: SIRIUS Documentation - Custom Database

so according to current documentation:

sirius --input /Users/mahnoor/SL_Sirius.tsv --name SL_Sirius custom-db --output /Users/mahnoor/SIRIUS

However, SIRIUS returns errors like: unknown options: "--input" or "output".

I think this needs an update as this command was working on SIRIUS4. Could you take a look into this issue?

Thanks,
Mahnoor

@zmahnoor14 zmahnoor14 changed the title Custom-database Custom-database CLI Mar 7, 2023
@mfleisch mfleisch self-assigned this Mar 7, 2023
@simcoxkm
Copy link

The custom database feature is also not working in the GUI. When I try to create a database by either typing in the SMILES code and hitting "open/create database" or by directly uploading a csv, I receive this error:

java.lang.NullPointerException: Name is null
at java.base/java.lang.Enum.valueOf(Unknown Source)
at de.unijena.bioinf.storage.blob.Compressible$Compression.valueOf(Compressible.java:44)
at de.unijena.bioinf.storage.blob.CompressibleBlobStorage.of(CompressibleBlobStorage.java:40)
at de.unijena.bioinf.chemdb.custom.CustomDatabase.open(CustomDatabase.java:99)
at de.unijena.bioinf.chemdb.SearchableDatabases.loadCustomDatabaseFromLocation(SearchableDatabases.java:195)
at de.unijena.bioinf.ms.gui.fingerid.custom_db.DatabaseDialog$ImportDatabaseDialog.lambda$runImportJob$2(DatabaseDialog.java:344)
at de.unijena.bioinf.jjobs.LoadingBackroundTask$1.compute(LoadingBackroundTask.java:35)
at de.unijena.bioinf.jjobs.BasicJJob.call(BasicJJob.java:117)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)

Hope this helps!

@my3sonsMN
Copy link

Wondering if there has been a solution to the create custom database feature in the software. As others have commented the addition of smiles strings still doesn't seem to be working. would love to have a way to bring in exports from other databases to help build up the compounds thank you David Weil

@gdiazcruz
Copy link

Hello!
I am having the same (or similar) issue with the 5.8.3 version:

java.lang.NullPointerException: Name is null
at java.base/java.lang.Enum.valueOf(Unknown Source)
at de.unijena.bioinf.storage.blob.Compressible$Compression.valueOf(Compressible.java:44)
at de.unijena.bioinf.storage.blob.CompressibleBlobStorage.of(CompressibleBlobStorage.java:40)
at de.unijena.bioinf.chemdb.custom.CustomDatabase.open(CustomDatabase.java:99)
at de.unijena.bioinf.chemdb.SearchableDatabases.loadCustomDatabaseFromLocation(SearchableDatabases.java:195)
at de.unijena.bioinf.ms.gui.fingerid.custom_db.DatabaseDialog$ImportDatabaseDialog.lambda$runImportJob$2(DatabaseDialog.java:349)
at de.unijena.bioinf.jjobs.LoadingBackroundTask$1.compute(LoadingBackroundTask.java:35)
at de.unijena.bioinf.jjobs.BasicJJob.call(BasicJJob.java:117)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)

@my3sonsMN
Copy link

my3sonsMN commented Sep 12, 2023 via email

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

5 participants