Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • M.Verma
    Member
    • Jun 2012
    • 12

    #1

    How to calculate no. of bp from txt file,if a particular condition is given?

    hi everyone,

    i have one file of transposons element file in that file 4 column are present in that file chr. no., start, end and notification indicating by Y and N if that is Y it means that is TE else non-TE.
    i want to calculate for a particular window like 0-100000 how many base pairs are present in that window.

    Chr.no. start end notification
    Chr1 44595 47526 Y
    Chr1 47856 53412 Y
    Chr1 95499 98558 Y
    Chr1 99171 100681 N
    Chr1 105872 106534 Y
    Chr1 108618 114983 N
    Chr1 118081 120671 Y
    Chr1 121302 127457 Y
    Chr1 128897 133559 N

    i need output like

    (chr.no.) (bin_size) (total_bp_where_notification_N) (total_bp_where_notification_Y)
    chr.1 0-10000 0 0
    chr.1 10001-20000 0 0
    chr.1 20001-30000
    chr.1 30001-40000
    chr1 40001-50000

    chr2. 0-10000

    But the condition is if one id's start is 90000 and end is 110000 then 10000 bp will go in 0-100000 and rest 10000 bp will go in 100001-200000 window.
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    It's unclear from your post what your actual question is. I'm not familiar with a program that will do exactly what you describe, but it would be trivial for you to write one.

    Comment

    Latest Articles

    Collapse

    • SEQadmin2
      Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
      by SEQadmin2



      Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

      Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
      ...
      10-14-2026, 09:55 AM
    • SEQadmin2
      New Genomics Technologies Take Aim at Long-Standing Limits
      by SEQadmin2


      Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

      We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
      ...
      09-28-2026, 10:25 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 10-15-2026, 10:52 AM
    0 responses
    17 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-14-2026, 05:39 AM
    0 responses
    26 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-13-2026, 09:56 AM
    0 responses
    22 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-09-2026, 11:14 AM
    0 responses
    28 views
    0 reactions
    Last Post SEQadmin2  
    Working...