Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • merge BED files from two lanes?

    Hi, I am using SplicingCompass for testing differential exon usage, and one step involved is to use BED files for each of the biological samples, as shown in the manual:

    junctionBedFilesControl=c(
    "/path/to/junctionsBed_sample_1.bed",
    "/path/to/junctionsBed_sample_2.bed",
    "/path/to/junctionsBed_sample_3.bed")
    junctionBedFilesCancer=c(
    "/path/to/junctionsBed_sample_4.bed",
    "/path/to/junctionsBed_sample_5.bed",
    "/path/to/junctionsBed_sample_6.bed")

    expInf=setJunctionBedFiles(expInf,c(junctionBedFilesControl,junctionBedFilesCancer))


    My question is, since for each sample, I sequenced for two lanes in TopHat, so that I have two junctions.bed file for each biological samples. Should I merge these two BED files from 2 lanes into one? If so, what tools should I consider? Bedtools? I saw some people suggested:

    cat junctions1.bed junctions2.bed | mergeBed -i stdin


    Also, I notice there a related post here: in the last thread, the author suggested using

    cat junctions_file1.bed junction_file_2.bed junction_file_3.bed | tbed2juncs | combineJuncs > combined.juncs

    from the tools downloaded here. "combine.juncs will be a BED file and contains all of the junctions from the junction files with the score the sum of the junction scores." -- just curious if this .juncs file can be used the same as the .bed file from TopHat output?

    Thanks so much!
    Last edited by alittleboy; 06-30-2013, 01:37 PM.

  • #2
    The .juncs file is not the same as the .bed file from TopHat output in the following:
    1. they are in different format.
    2. .juncs files only contain the coordination and score, the block length has been filtered.

    However, if you don't care the block length, you can make a junctions.bed file yourself with the output file of combineJuncs.
    Last edited by pengchy; 08-19-2013, 12:30 AM.

    Comment

    Latest Articles

    Collapse

    • 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
    • seqadmin
      Current Approaches to Protein Sequencing
      by seqadmin


      Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
      04-04-2024, 04:25 PM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, Today, 08:47 AM
    0 responses
    9 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-11-2024, 12:08 PM
    0 responses
    60 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 10:19 PM
    0 responses
    57 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 09:21 AM
    0 responses
    53 views
    0 likes
    Last Post seqadmin  
    Working...
    X