<@UPC8CHDKQ>: I've been following the AWS run you ...
# magmap
d
@Rike Hanssen: I've been following the AWS run you initiated. It fails on creating the directories for contigs and prokka output respectively:
Unexpected path for Fusion script launcher: /magmap_genomes
. I suppose we need to set the params for these two differently in the full test, can you advice us? Basically, it's just two directories that start empty and will be populated by the run. If they don't exist when the pipeline starts, the pipeline attempts to create them. I completely inexperienced when it comes to AWS directories and cloud computing in general.
r
i think the
genome_store_dir
will need to be an s3 path. maybe easiest, if you just prepend it by
params.outdir
then it should always be fine to be created regardless of what systems users have.
Given that these are outdirs, I am coming around to treating them the same way as
outdir
and make the user set them to something that works. in the
test_full
you could still assign them params.outdir (I think)
d
Sorry for the late reply; I was in meetings. I'm not sure one can use the same directory. The reason is the
versions.yml
that is also copied to the store directory. This at least messes things up with nf-tests. But, never mind, the important thing is that we set the
--genome_store_dir
and
--prokka_store_dir
params in the full test to paths that work. And, just to make sure we don't run into trouble with the
versions.yml
I'd prefer it to be different directories. If it somehow makes things easier, they might well be subdirectories of the output directory. What can I set them to?
r
https://cloud.seqera.io/orgs/nf-core/workspaces/AWSmegatests/watch/PNQVk85Pg44wc/v2/configuration here i did `params.outdir`/prokka_genomes etc. although this run is now failing on something
d
Right. I also just saw that it fails. I've never seen it fail before in the
PROKKA
process.
minus()
is used to remove part of the file name and it hence seems like the file name is null. Maybe one can just resume? If it happens again, I suppose we need to check that null file names -- possibly resulting from failed fetches of genomes -- are never passed to the process.
r
sure. I can do that
d
Thanks
I realize we might need to do one thing to make the full scale test practical: Make genomes available as a "database" otherwise a couple of thousand download processes will run. Again since I'm not experienced with clouds, how can that be done?
r
we could upload the data to the s3 bucket and provide it from there, if your full size test can also stage in genomes directly
d
The first part of that was what I was thinking of, my question being how I can practically do that. The second part, yes, the pipeline actually downloads all genomes and stores them in the store directory so after one run they should be ready for the second. (This also applies to the prokka step.) My updated question then becomes: Is it OK to let this first run do the downloads and genomes will then be kept or would it be better to interrupt, transfer the genomes (including annotations) and then restart?
(The current run downloaded >400 out of >600. The latter will increase a bit since the selection step is still running, but not to the thousands I foresaw I think.)
(The run looks really weird as the number of
PROKKA
processes is higher than
WGET_GENOME
. The latter feeds the former so
PROKKA
should at one point reach the number for
WGET_GENOME
at a maximum. I suppose this is something with the interface.)
r
the way we are storing the genomes at the moment in the outdir location which is unique to each release. we should store these similarly like we store input data for other pipelines. let's see if this run finished now and then I can transfer them directly on AWS, if that doesn't work then we should do this manually
👍 1
d
We got the same error as before. This is strange. The pipeline should retry failed downloads five times then ignore, so this shouldn't happen. Maybe it would be better if the genomes were first uploaded. I can provide the data but since it's quite a lot I'm not sure which is the best way.
r
Does the caching work locally? cause non of the prokka genome downloads were cached here
d
The caching works great both for genomes and annotations when running the pipeline on HPC or individual machines.
The pipeline can run in a different mode by just mapping to a set of preset genomes. For the output of the full test this is just as good, and is maybe easier to get to work. It is just a pity however that we don't get to test the caching properly on cloud infrastructure. @Rike Hanssen, if you prefer the preset genome option I can collect them (500-1000) next week and transfer them somewhere if you give me instructions. (One possibility is to give you urls to NCBI genome files.)