Open rica01 opened 3 years ago
Hello! I tried again on a computer with 512 GB of RAM. and still the same problem happens.
Dear Ricardo,
Sorry for the delay. Could we please see the config at bdb.yaml
?
cheers
sure!
## Example config using berkeleyDB
h: 1
k: 31
m: 28000000
storage-engine: berkeleydb
storage-config:
filename: test-berkeleydb
flag: "c" ## Change to 'r' for read-only access
ping @leoisl
Sorry for the delay, I could reproduce this issue on the tip of master, it seems to be an issue with the CLI not warning that the params are not correct. I think you are looking to build bloom filters, then you would need to run the bigsi bloom
command instead. I am sorry this repo is a bit outdated, the official one now is https://github.com/iqbal-lab-org/BIGSI . There you can find some guides, for example https://bigsi.readme.io/docs/your-first-bigsi , that shows the whole workflow, from extracting kmers to querying your bigsi index.
Please tell me if this is helpful or if I understood incorrectly this issue.
cheers
what do u refer to the parameters not being correct?
what would be the correct ones?
I will use the code on this new repo you pointed to but if you can reproduce the error, I guess I will run into the same problems.
Just a more general question. Is this software still being used? or is this a dead end for me, and I should look for something else?
On Mon, Sep 6, 2021 at 4:11 PM leoisl @.***> wrote:
Sorry for the delay, I could reproduce this issue on the tip of master, it seems to be an issue with the CLI not warning that the params are not correct. I think you are looking to build bloom filters, then you would need to run the bigsi bloom command instead. I am sorry this repo is a bit outdated, the official one now is https://github.com/iqbal-lab-org/BIGSI . There you can find some guides, for example https://bigsi.readme.io/docs/your-first-bigsi , that shows the whole workflow, from extracting kmers to querying your bigsi index.
Please tell me if this is helpful or if I understood incorrectly this issue.
cheers
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Phelimb/BIGSI/issues/68#issuecomment-913639515, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWQWE45J6NT4FB6P2VIV3LUAS4WRANCNFSM5CDQ5G3Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Dear @rica01 ,
what do u refer to the parameters not being correct?
If I understood correctly, the commands are trying to create a test bigsi index to query it. Taking as example the example data that comes with bigsi, if we go to the root of the source code, we can run the following commands to build a bigsi index and query it:
bigsi bloom --config example-data/configs/berkeleydb.yaml example-data/test1.ctx example-data/test1.bloom
;bigsi bloom --config example-data/configs/berkeleydb.yaml example-data/test2.ctx example-data/test2.bloom
;bigsi build --config example-data/configs/berkeleydb.yaml example-data/test1.bloom example-data/test2.bloom -s s1 -s s2
bigsi search --config example-data/configs/berkeleydb.yaml CGGCGAGGAAGCGTTAAATCTCTTTCTGACG
. You should get as answer:
{'query': 'CGGCGAGGAAGCGTTAAATCTCTTTCTGACG', 'threshold': 1.0, 'results': [{'percent_kmers_found': 100.0, 'num_kmers': 1, 'num_kmers_found': 1, 'sample_name': 's1'}], 'citation': 'http://dx.doi.org/10.1038/s41587-018-0010-1'}
The specific parameters I don't understand from the previous command (bigsi build --config ./bdb.yaml bloom ./test1.ctx ./test1.bloom
) are bloom
and ./test1.ctx
, as per the specification, bigsi build
receives only a config file, sample names and bloom filters files:
bigsi build -h
usage: bigsi-v0.3.1 build [-h] [-s SAMPLES] [-c CONFIG] [bloomfilters [bloomfilters ...]]
positional arguments:
bloomfilters Multiple Values
optional arguments:
-h, --help show this help message and exit
-s SAMPLES, --samples SAMPLES
Multiple Values
-c CONFIG, --config CONFIG
Basic text / string value
I will use the code on this new repo you pointed to but if you can reproduce the error, I guess I will run into the same problems.
When I try your command line on the new repo, I get the following issue:
FileNotFoundError: [Errno 2] No such file or directory: '.../git/BIGSI/bloom/bloom'
I would recommend you to follow the previously stated commands, or to follow this guide; and to use the official repo: https://github.com/iqbal-lab-org/BIGSI . If the issues persists, please don't hesitate on contacting us.
Just a more general question. Is this software still being used? or is this a dead end for me, and I should look for something else?
It is still used in some projects in our group. I can't say much external to our group, as I don't know. You can also try COBS, which has many similarities with BIGSI, but aims at being more efficient. Besides these two, you also have several other options of DNA/protein index and search tools
We're transitioning to using COBS (https://github.com/iqbal-lab-org/cobs) which is faster and uses less disk - see https://arxiv.org/abs/1905.09624
Hello everyone. I am looking forward to try BIGSI, but I came up with this error while trying to build the bloom filters:
I am running on a machine with 256 GB of RAM so, I am guessing that is not the problem, but I am not sure...
Any advice you could provide will be appreciated!
-Ricardo