GithubHelp home page GithubHelp logo

inbalpaz / clans Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 2.0 134.45 MB

CLANS 2.0 is a Python-based program for clustering sequences in the 2D or 3D space, based on their sequence similarities. CLANS visualizes the dynamic clustering process and enables the user to interactively control it and explore the cluster map in various ways.

License: Other

Python 100.00%
clustering networks proteins python sequence-classification visualization

clans's People

Contributors

inbalpaz avatar

Stargazers

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

Watchers

 avatar  avatar

clans's Issues

Duplicate edges found in graph given input FASTA

Hello,

I started using your clans_cmd.py script to generate CLANS files for the clans.jar executable to process as it is much simpler than loading my FASTA on the CLANS web server (thank you for preparing that, it is really helpful for having a fully Python pipeline for what I need to do).

I have encountered an issue while loading my FASTA file though. When saving the CLANS files through your Python script, I observe there are duplicated edges with different P-values in the HSP field of the XML. An example would be:

0 197:2.99e-121
0 197:1.77e-48
0 24:3.46e-57
0 24:4.08e-29

So the node 0 is connected twice to, e.g., node 197 with two different weights. When compared with the web output, we have just:

0 197:3.0e-121

so it seems that the output of clans_cmd.py is duplicating the nodes.
Some observations:

  • Note that this does not happen for all nodes, it only happens for some of them.
  • I ran with the default settings, assuming that they would match those of the web interface. I then had to reduce the BLAST Evalue (default is 1.0 in your cfg?). That removed some of the duplicates and would ensure the same number of edges in the two graphs excluding the duplicates (to be checked).
  • It seems that for the duplicated entries, the one that matches the web output is always the smallest of the two. By which we could filter the wrong edges, but it would be better if they were not there in the first place.

Note that I am just running the pipeline with:
python clans_cmd.py -infile ../clans_report/fasta_src.fa -saveto ../clans_report/py_yours_output.clans -dorounds 0
which should suffice to reproduce the issue. I am attaching the required files for debugging. Could you indicate why this issue could happen and how I could support you with debugging it?

clans_report.zip

An error has occurred while running the BLAST search

Hi, I encountered difficulties when running the program, and the error "An error has occurred while running the BLAST search" was reported in the terminal. How can I solve this problem? Thank you for your help.

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.