You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details of each build for a given version (as there can be many)
Conda, Docker and Singularity URLs in one shot (with no guessing)
Doesn't assume a given image registry (nearly everything is quay.io now, but that could change in the future)
Metadata: updated timestamps, size, download
My thought is that we could query this when running nf-core modules create instead of bioconda / quay.io. I think that this would be more accurate as well as giving us a bunch of additional information to put into meta.yml about the tool.
Ideally, we could use either use an exact build tag provided on the command line (fail if not found) or use a questionary select list as done in nf-core launch. This would be very precise (select only from first versions, then builds that are available) and also super user-friendly.
Phil
The text was updated successfully, but these errors were encountered:
Major issue here is that the BioContainers website / API seems to lag well behind reality and not contain many packages. Need to investigate why this is before we can use it.
Closing this now - should be re-opened though if we want to have a more fancy way of selecting containers/versions in nf-core modules create. Or maybe a new issue then.
Putting down an idea into an issue for
nf-core create
so I don't forget (but probably too much work to get into PR #869).Biocontainers itself has quite a nice API that we can use. It's documented here: https://api.biocontainers.pro/ga4gh/trs/v2/ui/#/GA4GH/tools_id_get
For example, we can query MultiQC:
JSON Response
Using this API call gives us several things in a single shot:
It also gives URLs for each version which we can query (_NOTE: It lists
http
but this doesn't work, needs to behttps
).For example, MultiQC 1.9:
JSON Response
This gives us:
My thought is that we could query this when running
nf-core modules create
instead of bioconda / quay.io. I think that this would be more accurate as well as giving us a bunch of additional information to put intometa.yml
about the tool.Ideally, we could use either use an exact build tag provided on the command line (fail if not found) or use a questionary select list as done in
nf-core launch
. This would be very precise (select only from first versions, then builds that are available) and also super user-friendly.Phil
The text was updated successfully, but these errors were encountered: