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
      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
    • seqadmin
      Strategies for Sequencing Challenging Samples
      by seqadmin


      Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
      03-22-2024, 06:39 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, 04-11-2024, 12:08 PM
    0 responses
    18 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 10:19 PM
    0 responses
    22 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 09:21 AM
    0 responses
    17 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-04-2024, 09:00 AM
    0 responses
    49 views
    0 likes
    Last Post seqadmin  
    Working...
    X