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

Input reference list is misformatted #310

Open
SeqBioUCC opened this issue Apr 30, 2024 · 10 comments
Open

Input reference list is misformatted #310

SeqBioUCC opened this issue Apr 30, 2024 · 10 comments

Comments

@SeqBioUCC
Copy link

Versions
poppunk 2.6.5

Command used and output returned
poppunk_assign --db /home/quadram/Klebsiella_pneumoniae_v3_refs --query qfile.txt --output poppunk_clusters --threads 8
PopPUNK: assign
(with backend: sketchlib v2.1.4
sketchlib: /home/quadram/Apps/mamba/lib/python3.10/site-packages/pp_sketchlib.cpython-310-x86_64-linux-gnu.so)
Mode: Assigning clusters of query sequences

Graph-tools OpenMP parallelisation enabled: with 8 threads
Input reference list is misformatted
Must contain sample name and file, tab separated

Describe the bug

@SeqBioUCC SeqBioUCC changed the title Input reference list id misformatted Input reference list is misformatted Apr 30, 2024
@johnlees
Copy link
Member

johnlees commented May 1, 2024

Please can you post the contents (or at least the first few lines) of your qfile.txt

@SeqBioUCC
Copy link
Author

SeqBioUCC commented May 4, 2024 via email

@johnlees
Copy link
Member

johnlees commented May 4, 2024

Looks like you have spaces between name and file? They should be tabs:

Must contain sample name and file, tab separated

@SeqBioUCC
Copy link
Author

SeqBioUCC commented May 6, 2024 via email

@johnlees
Copy link
Member

johnlees commented May 6, 2024

Might be the line endings then – are they Windows carriage returns?

Other things to try:

@SeqBioUCC
Copy link
Author

SeqBioUCC commented May 7, 2024 via email

@johnlees
Copy link
Member

johnlees commented May 7, 2024

How have you installed poppunk and sketchlib here? Sketchlib's most recent release is v2.1.3, I think the install might have a problem here as you're getting a segfault.

Can you also try with two samples?

@SeqBioUCC
Copy link
Author

SeqBioUCC commented May 7, 2024 via email

@SeqBioUCC
Copy link
Author

SeqBioUCC commented May 7, 2024 via email

@johnlees
Copy link
Member

johnlees commented May 7, 2024

i followed the installation instruction on poppunk github

Sorry I need some more specifics here, was this via conda/mamba/source? We have a few different installation methods: https://poppunk.bacpop.org/installation.html

I would recommend conda

In the test you are running you are getting:

No non-zero Jaccard distances
Fitting k-mer gradient failed, for:H123vs.EuSCAPE_HR094

Are your input files (e.g. H123) definitely of the correct species?

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