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
      Advancing Precision Medicine for Rare Diseases in Children
      by seqadmin




      Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
      12-16-2024, 07:57 AM
    • 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 seen remarkable advancements,...
      12-02-2024, 01:49 PM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, 12-17-2024, 10:28 AM
    0 responses
    33 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 12-13-2024, 08:24 AM
    0 responses
    49 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 12-12-2024, 07:41 AM
    0 responses
    34 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 12-11-2024, 07:45 AM
    0 responses
    46 views
    0 likes
    Last Post seqadmin  
    Working...
    X