Unconfigured Ad

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

    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
                Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                by SEQadmin2



                Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                ...
                07-09-2026, 11:10 AM
              • SEQadmin2
                Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                by SEQadmin2



                Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                07-08-2026, 05:17 AM
              • GATTACAT
                Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                by GATTACAT
                Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                07-01-2026, 11:43 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, Yesterday, 10:26 AM
              0 responses
              15 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-09-2026, 10:04 AM
              0 responses
              29 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-08-2026, 10:08 AM
              0 responses
              16 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-07-2026, 11:05 AM
              0 responses
              33 views
              0 reactions
              Last Post SEQadmin2  
              Working...