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

StbError and Could not cluster genomes #198

Open
Swt623 opened this issue Dec 17, 2024 · 2 comments
Open

StbError and Could not cluster genomes #198

Swt623 opened this issue Dec 17, 2024 · 2 comments

Comments

@Swt623
Copy link

Swt623 commented Dec 17, 2024

Hello @MrOlm,

I ran inStrain compare for dereplicated MAGs assembled from short-read metagenomic sequences and got the same errors as the first two mentioned in the previous issue. I got StbError for some scaffold-bin with "no_length will not be considered as part of the genome" and "Could not cluster genomes" error. I checked my genomes_fa file and these scaffolds exist.

Checking the output files, I only got genomeWide_compare.tsv and comparisonsTable.tsv, there is no strain_clusters.tsv and the inStrainCompare_dendrograms.pdf file is corrupted.

I attached the log file and the commands I used to run inStrain. Could you help me to check what the problem could be?

Thank you very much!
Weitao

Step3-4_error_messages.txt
log.log
bash_script.txt

@MrOlm
Copy link
Owner

MrOlm commented Jan 1, 2025

Hi Weitao,

This issue is coming up because inStrain thinks these scaffolds were not profiled with inStrain profile. For example, it thinks that scaffold "NODE_1_length_51055_cov_4.714171" in genome "002_PWH0091_R_bin.11.strict.fa" was not present in any of the inStrain profile objects.

Can you confirm that the exact same .fasta file and the same .stb file were provided to all inStrain profile runs?

Best,
Matt

@Swt623
Copy link
Author

Swt623 commented Jan 6, 2025 via email

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