Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bioperl Tree Object

    If anyone uses Bioperl Tree module out there I could use your help. I am finding that when I read in a .dnd file (newick) from a clustal alignment. Then count the number of nodes that exist within the tree it is far too large. For instance in the following tree:
    (
    (
    (
    (
    NP_777373.1:0.10091,
    YP_003212822.1:0.09142)
    :0.15908,
    (
    (
    (
    (
    YP_873922.1:0.03218,
    NP_777370.1:0.02792)
    :0.00092,
    NP_066255.1:0.03525)
    :0.01017,
    YP_002004564.1:0.04619)
    :0.18566,
    NP_783196.1:0.22090)
    :0.01501)
    :0.13384,
    (
    (
    (
    YP_164336.1:0.03270,
    YP_022762.1:0.03183)
    :0.16070,
    YP_077278.1:0.19536)
    :0.10230,
    NP_051035.1:0.30447)
    :0.06925)
    :0.01514,
    (
    (
    (
    YP_002364399.1:0.06202,
    NP_062875.1:0.06149)
    :0.04748,
    NP_068828.1:0.10606)
    :0.27052,
    (
    (
    NP_663315.1:0.01634,
    YP_213937.1:0.01805)
    :0.01563,
    YP_529550.1:0.03414)
    :0.34412)
    :0.00909,
    (
    YP_002905325.1:0.40730,
    (
    NP_056820.1:0.27798,
    YP_720001.1:0.27151)
    :0.11890)
    :0.05569);


    There should only be 18 nodes. Though the Bioperl module has found 38 for some reason.
    Thanks

  • #2
    I lied, I wasn't counting the leaves as nodes.
    Thanks

    Comment

    Latest Articles

    Collapse

    • seqadmin
      Recent Advances in Sequencing Technologies
      by seqadmin







      Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

      Long-Read Sequencing
      Long-read sequencing has...
      12-02-2024, 01:49 PM
    • seqadmin
      Genetic Variation in Immunogenetics and Antibody Diversity
      by seqadmin



      The field of immunogenetics explores how genetic variations influence immune responses and susceptibility to disease. In a recent SEQanswers webinar, Oscar Rodriguez, Ph.D., Postdoctoral Researcher at the University of Louisville, and Ruben Martínez Barricarte, Ph.D., Assistant Professor of Medicine at Vanderbilt University, shared recent advancements in immunogenetics. This article discusses their research on genetic variation in antibody loci, antibody production processes,...
      11-06-2024, 07:24 PM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, 12-02-2024, 09:29 AM
    0 responses
    148 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 12-02-2024, 09:06 AM
    0 responses
    51 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 12-02-2024, 08:03 AM
    0 responses
    42 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 11-22-2024, 07:36 AM
    0 responses
    73 views
    0 likes
    Last Post seqadmin  
    Working...
    X