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

AMDirT download functionality to download AncientMetagenomeDir tables #146

Closed
jfy133 opened this issue Mar 28, 2024 · 2 comments
Closed
Assignees

Comments

@jfy133
Copy link
Member

jfy133 commented Mar 28, 2024

I was about to start writing a tutorial and I realised i'm going to have a to faff around with manually downloading tables before getting started on the tutorial.

What about a command called AMDirT download that allows you to specify

  • -table: a given the Dir table
  • --type: whether samples or libraries
  • --version: the release version

e.g.: AMDirT download --table ancientmetagenome-hostgenome --type samples --version 23.9.0

And then you could have an almost reasonable end-to-end CLI workflow:

AMDirT download  --table ancientmetagenome-hostgenome --type samples --version 23.9.0
grep <some filtering> ancientmetageome-hostgenome_samples.tsv > filtered.tsv
AMDirT convert --eager filtered.tsv ancientmetagenome-hostgenome

or w/e

One question would be should it pull this from a Zenodo archive (more stable) or GitHub (easier to puill with tags)

@maxibor
Copy link
Collaborator

maxibor commented Apr 2, 2024

Sounds like a good idea !

@maxibor maxibor self-assigned this Apr 2, 2024
@maxibor
Copy link
Collaborator

maxibor commented Apr 8, 2024

Done with #149

@maxibor maxibor closed this as completed Apr 8, 2024
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

2 participants