Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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.

  • #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

    • seqadmin
      Recent Advances in Sequencing Analysis Tools
      by seqadmin


      The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
      05-06-2024, 07:48 AM
    • seqadmin
      Essential Discoveries and Tools in Epitranscriptomics
      by seqadmin




      The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
      04-22-2024, 07:01 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, Today, 02:46 PM
    0 responses
    10 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 05-07-2024, 06:57 AM
    0 responses
    13 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 05-06-2024, 07:17 AM
    0 responses
    16 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 05-02-2024, 08:06 AM
    0 responses
    23 views
    0 likes
    Last Post seqadmin  
    Working...
    X