Code Monkey home page Code Monkey logo

cluster-picker-and-cluster-matcher's Introduction

Welcome to ClusterPicker and ClusterMatcher GitHub!

Please note these programs are no longer actively maintained (since 2017)

Here you can download all the latest versions of ClusterPicker, ClusterMatcher, and their documentation!

If you are an advanced user, you may prefer to view this respository on GitHub itself by clicking the blue link at the top of the page.

If you're just here for the latest jar files to run the programs, we can help you!

Downloads

ClusterPicker

Download the latest ClusterPicker (command-line) by clicking here.

Download the latest ClusterPickerGUI (GUI version) by clicking here.

Download the ClusterPicker manual here

ClusterMatcher

Download the latest ClusterMatcher by clicking here.

Download the ClusterMatcher manual here

Documents

For some information about when the latest jar files were built and how to run them, you can view the text file here.

To to the docs folder to get the lateast manual and tutorial files.

Tutorial

You can see the files related to a 2016 tutorial in the Tutorial folder

cluster-picker-and-cluster-matcher's People

Contributors

emmahodcroft avatar hxnx-sam avatar manonr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cluster-picker-and-cluster-matcher's Issues

Newick parser error - "Couldnt find tip for seq1" ?

$ cat test.fa
>seq1
ATCT
>seq2
ATCG
>seq3
ATAT

 $ cat test.nw
(seq1:0.1,(seq2:0.7,seq3:0.8));

Reading sequences from test.fa ... Read 3 sequences
First sequence is:seq1
Last  sequence is:seq3
Reading tree from test.nw ... Read tree with 2 tips
2       tip names have matching sequence names
0       tip names do not have matching sequence names
2       sequence names have matching tip names
1       sequence names do not have matching tip names
Couldnt find tip for seq1

error during convert a BEAST MCC tree to a newick

Hi, @emmahodcroft @hxnx-sam

When I was trying to convert to the MCC tree to newick in R, I met an error like this.
The code is from here:

Warning message in matrix(tips, 2, length(tips)/2):
"data length [1027] is not a sub-multiple or multiple of the number of rows [2]"
Error in jj[[1]]: subscript out of bounds
Traceback:
1. MCC_to_NWK(mccName)

Do you know how to solve it?
Yan

Inconsistent Genetic Distance Format

In the GUI and in interactive command-line (run with no arguments), genetic distance needs to be supplied as a %, ex: 4.5, and is divided by 100 (see line 984 of ClusterPicker.java and 126 of ClusterPickerGUI.java).

However if provided with arguments in command-line mode, genetic distance is NOT divided by 100 (see line 933 in ClusterPicker.java) and so needs to be provided not as a % (ex: 0.045)

This is confusing and inconsistent, and we should probably try to rectify this - but without messing up backwards compatibility too much!

Removing from front of ArrayList

I'm not sure how time-consuming this step is, so not sure if it is negligible:

https://github.com/emmahodcroft/cluster-picker-and-cluster-matcher/blob/master/src/clusterPicking/ClusterPicker.java#L456

But you are storing the things you want to process in an ArrayList, but you're iteratively removing from the front of the ArrayList, which is O(n) each time (where n is the number of elements in the ArrayList). You should use a Queue (which is implemented as a LinkedList) for O(1) removal from the front, given that you don't care about random access of elements

Few decimals in report of cluster distances

Thanks for providing this very useful tool! However, reporting of genetic distances in clusters are in the format of 0.0 and is not very useful when analyzing SARS-CoV-2 diversity (with a "genetic distance threshold" of 0.05%) - is it possible to adjust so more digits are reported back?
I'm using version 1.2.1
Thank you!
Cheers
Patrik Medstrand, Lund University, Sweden

Make a release

It would be great if you could make a release on the "Releases" tab in Github.

This will help us to package it in Conda and Homebrew.

Thank you

Genetic distance threshold question

Thanks for the ClusterPicker software. We are using it as part of our Hepatitis A Virus infection cluster detection pipeline (https://github.com/schultzm/HAVIC).

In using it, we are starting to notice the finer details. One of which we are uncertain about. If I set the genetic distance measure as 3/300, so input to the command line as 0.01, will clusterpicker place isolates with for example 0.013 divergence in the same cluster? We have a case where two isolates are 5/367 apart, but in a clade at 100% support. So, these two isolates get clustered into the same cluster, even though this translates to >0.01 divergence. My question then is, if I input the cutoff to cluster picker as a float with four significant digits, say 0.0100, will clusterpicker then recognise that 0.0136239782 (5/367) is in fact greater than 0.0100?

Thanks,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.