Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • bed file around the TSSs

    Hi
    I would highly appreciate if you could show me how to create a bed file around the TSSs from UCSC databases such as ensembl or refSeq genes. I need 350 nucleotides upstream and 150 nucleotides downstream of TSSs. The bed file should look like below, where:
    Code:
    chromStart is 350 nucleotides upstream of TSS
    chromEnd is 150 nucleotides downstream of TSS
    name is Name of gene or transcript_id depending on the database.
    
    chrom	chromStart	chromEnd	name		score	strand
    chr1	67051159	67163158	NM_024763	0	-	
    chr1	67075869	67163158	NM_207014	0	+	
    chr1	16762998	16812569	NM_017940	0	-
    Thanks
    Joseph

  • #2
    Have you considered using the EnsEMBL API for these kinds of tasks?

    Ensembl API docs

    Comment


    • #3
      On the UCSC table browser go to the "Genes and Gene Predictions" group, select the table you want (ensGene, refGene, etc). Change the output format to "Selected fields..." and on the next page select the chr and the TSS. You can then pad the TSS by doing something like:
      Code:
      awk '{print $1"\t"$2-349"\t"$2+350}' file > TSS.bed

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Recent Innovations in Spatial Biology
        by seqadmin


        Spatial biology is an exciting field that encompasses a wide range of techniques and technologies aimed at mapping the organization and interactions of various biomolecules in their native environments. As this area of research progresses, new tools and methodologies are being introduced, accompanied by efforts to establish benchmarking standards and drive technological innovation.

        3D Genomics
        While spatial biology often involves studying proteins and RNAs in their...
        Yesterday, 07:30 PM
      • 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

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 12-30-2024, 01:35 PM
      0 responses
      21 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 12-17-2024, 10:28 AM
      0 responses
      41 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 12-13-2024, 08:24 AM
      0 responses
      55 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 12-12-2024, 07:41 AM
      0 responses
      40 views
      0 likes
      Last Post seqadmin  
      Working...
      X