Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • joshuapk
    Junior Member
    • Mar 2012
    • 9

    #1

    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
  • joshuapk
    Junior Member
    • Mar 2012
    • 9

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

    Comment

    Latest Articles

    Collapse

    • kinpict.com
      Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
      by kinpict.com
      The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
      Today, 06:37 PM
    • SEQadmin2
      16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
      by SEQadmin2





      NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
      10-30-2026, 06:46 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 11-12-2026, 07:59 AM
    0 responses
    27 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 11-05-2026, 09:25 AM
    0 responses
    35 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 11-03-2026, 11:54 AM
    2 responses
    56 views
    0 reactions
    Last Post kinpict.com  
    Started by SEQadmin2, 10-28-2026, 09:57 AM
    0 responses
    175 views
    0 reactions
    Last Post SEQadmin2  
    Working...