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

Please provide a version cli flag to get package version #46

Open
luiskuhn opened this issue Mar 29, 2023 · 2 comments
Open

Please provide a version cli flag to get package version #46

luiskuhn opened this issue Mar 29, 2023 · 2 comments

Comments

@luiskuhn
Copy link

Hi,

would it be possible to include a version flag in the mcmicro CLI ?
(

# import scimap as sm
)

Thanks

@jmuhlich
Copy link
Contributor

Can you explain more about your use case? Do you want to be able to run scimap-mcmicro --version and have it print out the current version? Are you using scimap through mcmicro and you want to see the version used for a run? If it's the latter, this is already available in qc/params.yml inside each run.

@FloWuenne
Copy link

Just saw this issue from @luiskuhn and want to chime in to give context. For the nf-core implementation of the tools, nf-core catches the version number within the process by usually having the tool print the version number. We can manually provide it via a variable, but this means updating that variable for each new version number. The usage that you describe @jmuhlich scimap-mcmicro --version would be the one we would like to have for the nf-core module. Of course, we can also think about a more general nf-core module for SCIMAP in the future, but for now, the MCMICRO parser seemed the easiest and most fitting: https://nf-co.re/modules/scimap_mcmicro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants