bacpop / PopPUNK

PopPUNK 👨‍🎤 (POPulation Partitioning Using Nucleotide Kmers)
https://www.bacpop.org/poppunk
Apache License 2.0
88 stars 18 forks source link

Release for v2.5.0 #204

Closed johnlees closed 2 years ago

johnlees commented 2 years ago

Todo:

muppi1993 commented 2 years ago
johnlees commented 2 years ago

@nickjcroucher Would you be able to confirm the MST -> phylogeny is still working as expected here?

johnlees commented 2 years ago

Example for the merged clusters

Reference database: /media/mirrored-hdd/shorsfield/jobs/poppunk-models/Salmonella/sal_sketch40k Model fit: /media/mirrored-hdd/shorsfield/jobs/poppunk-models/dbscan_indiv_refine_both query file: /media/mirrored-hdd/shorsfield/jobs/poppunk-models/Salmonella_query_popPUNK_ids_split.txt.acaaae command: poppunk_assign --db sal_sketch40k --query Salmonella_query_popPUNK_ids_split.txt.acaaae --model-dir dbscan_indiv_refine_both --core --threads 20 --output query-assignments_acaaae --qc-filter prune

nickjcroucher commented 2 years ago

@nickjcroucher Would you be able to confirm the MST -> phylogeny is still working as expected here?

Apologies for the delay - for a bacterial example, ape says they are identical, consistent with visual inspection: v2.4.6: image

v2.5.0: image

johnlees commented 2 years ago

Great, thanks Nick!

johnlees commented 2 years ago

wrt cytoscape issues

When trying to just create cytoscape output for a subset of the data, instead of not subsetting at all like happened on the command line, this time I get "IndexError: list index out of range" for this isolate_names[n]. I checked what these objects there store, and actually isolate_names and viz_subset are holding the same list of samples (the subset I am looking for). If I understand the code correctly, isolate_names should rather have all isolate names rather that just the subset, right? Since isolate_names is coming from combined_seq again, is the cause of this problem that I run it with rank_fit = None/tree = "nj"?

johnlees commented 2 years ago

Just need to have a look at that stall, which may be a sketchlib issue

johnlees commented 2 years ago

image 🤯

nickjcroucher commented 2 years ago

Fastastic!