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

Allow assemblies to have separately defined names #43

Closed
johnlees opened this issue Feb 28, 2019 · 2 comments
Closed

Allow assemblies to have separately defined names #43

johnlees opened this issue Feb 28, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@johnlees
Copy link
Member

At the moment (due to the mash interface) samples are referred to by the filename of their assembly, but it would be convenient to be able to give each sample an arbitrary name in the --r-files or --q-files input:

sample1 assemblies/sample1.contigs.fa

Easy enough to update the PopPUNK side, but the mash sketch names are always the file name. Two possible ways of doing this I think:

  • Create temporary symlinks of the assemblies at their given names. This would best be done inside a tmp directory to avoid any clashes (copying the resulting sketches into the output dir)
  • Keep a table of file names to sample names as part of the database. Less hacky but more work.
@johnlees johnlees added the enhancement New feature or request label Feb 28, 2019
@johnlees johnlees self-assigned this Feb 28, 2019
@nickjcroucher
Copy link
Collaborator

nickjcroucher commented Mar 1, 2019 via email

@johnlees
Copy link
Member Author

Closed in 620aa4a

ccoulombe pushed a commit to ccoulombe/PopPUNK that referenced this issue Oct 28, 2022
Check for shared memory limit being exceeded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants