GloSED database incorporation#1022
Conversation
Release 2.18.0
|
I've added the test_glosed.nf-test.snap file and addressed the other comments. Let me know if you see anything else. Thanks |
Co-authored-by: Daniel Straub <42973691+d4straub@users.noreply.github.com>
Co-authored-by: Daniel Straub <42973691+d4straub@users.noreply.github.com>
|
@nf-core-bot fix linting |
|
So now that the nf-core bot also fixed linting, the last issue is the I am not sure if that isnt a red herring. Because DADA2_DENOISING is running on the samplesheet that is also used in other tests. |
|
yeah, I actually had to add in a config file for the glosed test (conf/test_glosed.config) and bump the RAM way up: process { It may not need quite 256, but it was struggling with 32 and I set it high to get it to pass. I could pull a couple lines from the database, but yeah it sounds like a lot of effort to wire that all in just for the test. |
|
I see. The CI runners have only 15GB. And I dont think it makes sense to use larger runners (costs, energy...). |
|
If I were to make a small test database, where would I host it? In the ampliseq repo? |
|
The test database could go to https://github.com/nf-core/test-datasets/tree/ampliseq, maybe https://github.com/nf-core/test-datasets/tree/ampliseq/testdata (there are already files with 85_greengenes* in there). |
|
I'm going to struggle to get the test database made in a timely fashion unfortunately. |
|
Usually all CI tests must pass.
However, the PR is blocked by the non-functioning CI test |
|
yeah I see. I've just made a PR with nf-core/test-datasets on against the ampliseq branch that has the first 1000 entries in the glosed database - should be enough for the CI testing I hope. I'll wait until that gets merged and then I'll update the glosed test here with that test file location and we'll see what happens. |
…ted at nf-core/test-datasets
…rofiles (was after them) so that my updating the glosed test database location doens't get overwritten.
| @@ -24,8 +24,8 @@ params { | |||
| dada_ref_databases.glosed = [ | |||
| title:"GloSED - Global standardised Soil Eukaryome Dataset", | |||
| file:[ | |||
| "https://raw.githubusercontent.com/nf-core/test-datasets/ampliseq/GloSED__OTU_sequences_first1k.fasta.zip", | |||
| "https://raw.githubusercontent.com/nf-core/test-datasets/ampliseq/GloSED_Taxonomy_first1k.tsv.zip" | |||
| "https://raw.githubusercontent.com/nf-core/test-datasets/ampliseq/testdata/GloSED__OTU_sequences_first1k.fasta.zip", | |||
| "https://raw.githubusercontent.com/nf-core/test-datasets/amplsieq/testdata/GloSED_Taxonomy_first1k.tsv.zip" | |||
There was a problem hiding this comment.
Thats ok i think. An alternative could be to add an entry such as "glosed_1k" or such. Similar to
ampliseq/conf/ref_databases.config
Lines 881 to 889 in 2723d4c
|
@nf-core-bot fix linting |
|
Ok, I think I've gotten is sorted so that test 5 has passed - the mini-database hosted on nf-core/test-datasets/ seems to be working well. So I think this is nearly ready to merge, but I wanted to flagpost one more issue: I changed up nextflow.config a bit and I think one of you should have a close look to make sure it's an ok change: I moved the line: |
Afaik we never had the case that we wanted to override the ref_databases.config values. ref_databases.config should only provide a base of readily available databases that can be modified. The change of the sequence of config loading is fine I think. So all good to go! Do you see here the green Merge button? If not, you could join the nf-core community via https://nf-co.re/join#github or let me know and I merge this PR. |
PR checklist
nf-core pipelines lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile debug,test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).Issues closed
would close #1008 adding a new database to the list of approved databases.
Change notes
I've added in a new database option: GloSED. This is mainly through the addition of two new scripts, one to download the required files and one to reformat them appropriately. I have also made minor edits to the main pipeline to allow GloSED as an acceptable database option, integrate it if chosen, and cite it appropriately.
I have added a test profile for glosed to test the database.
Though GloSED does include SH numbers I have not included the code to process them and so the GloSED database does not currently work with addSH. Though this is reasonably possible to do if the need arises.