Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cmccabe
    Senior Member
    • Jul 2012
    • 355

    #1

    bedtools error

    I am getting the below error using bedtoold 2.20. The files are too large to attach. Thank you.

    Code:
     dnascopev@ubuntu:~$ cd "/media/9C168A3F168A1A82"
    
    dnascopev@ubuntu:/media/9C168A3F168A1A82$ coverageBed -hist -abam IonXpress_001.bam -b LCH_IDT.bed | grep ^all > output.txt
    Unexpected file format.  Please use tab-delimited BED, GFF, or VCF. Perhaps you have non-integer starts or ends at line 1?
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    What're the first couple lines of LCH_IDT.bed?

    Comment

    • cmccabe
      Senior Member
      • Jul 2012
      • 355

      #3
      There are 15 lines in that file sorted: The first 3 lines are below. Thanks.

      chr12 112884064 112884217
      chr12 112888106 112888331
      chr12 112890983 112891206

      Comment

      • dpryan
        Devon Ryan
        • Jul 2011
        • 3478

        #4
        The most common cause of this is either not using unix line endings (i.e., using \r) or having an extraneous space after a tab. The simplest thing is to just look at the bed file in a hex editor. You could also just "od -c LCH_IDT.bed" if you don't have a hex editor handy. A tab will show up as "\t" and a proper like ending will be "\n". Aside from those you should only see regular characters.

        Comment

        • cmccabe
          Senior Member
          • Jul 2012
          • 355

          #5
          Thank you, that was it... I seem to do that a lot, I guess I need to use Linux more and Windows less .

          Comment

          • dariober
            Senior Member
            • May 2010
            • 311

            #6
            For the record... To quickly visualize non-printable characters you could use
            Code:
            cat -vet
            . What you want to see is that tab characters are marked by ^I and line endings by $. If lines end in ^M$ you have windows line endings "carriage return + line feed". E.g.:

            Code:
            cat -vet ds069_293T_GFP_2.merge_peaks.bed | head
            chr1^I713939^I714220^Ids069_293T_GFP_2.merge_peak_1^I8.91011$
            chr1^I762786^I762945^Ids069_293T_GFP_2.merge_peak_2^I6.57885$
            chr1^I805256^I805387^Ids069_293T_GFP_2.merge_peak_3^I3.11743$
            chr1^I840046^I840238^Ids069_293T_GFP_2.merge_peak_4^I3.39438$
            chr1^I856585^I856713^Ids069_293T_GFP_2.merge_peak_5^I7.55995$
            chr1^I859179^I859369^Ids069_293T_GFP_2.merge_peak_6^I13.05689$

            Comment

            • cmccabe
              Senior Member
              • Jul 2012
              • 355

              #7
              Thank you .

              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, Yesterday, 10:52 AM
              0 responses
              10 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-14-2026, 05:39 AM
              0 responses
              19 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-13-2026, 09:56 AM
              0 responses
              17 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-09-2026, 11:14 AM
              0 responses
              27 views
              0 reactions
              Last Post SEQadmin2  
              Working...