Unconfigured Ad

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

    #1

    off-target reads

    Is there anyway to calculate predicted off-target reads based on a BED file? Thanks.
  • Heisman
    Senior Member
    • Dec 2010
    • 534

    #2
    Would bedToBam (from bedtools) followed by Picard's CalculateHSMetrics work?

    Comment

    • cmccabe
      Senior Member
      • Jul 2012
      • 355

      #3
      bed2bam

      I do not seem to have a bed2bam.sh in bedtools 2.17.0. Can someone plese provide this file or a link? Thank you.

      Comment

      • Heisman
        Senior Member
        • Dec 2010
        • 534

        #4
        Maybe try to re-download bedtools 2.17? It should come with it. What do you see in the bin folder that comes with it (it should be there)?

        Comment

        • cmccabe
          Senior Member
          • Jul 2012
          • 355

          #5
          bed2bam

          I re-downloaded 2.17 and do not see a bin folder. I have:

          data
          docs
          genomes
          scripts
          src
          test

          In the test folder there are .sh files but not for bed2bam

          In the src folder there is a bed2bam.cpp.

          The error that I get in cygwin is can not open perl script bed2bam:

          perl bedToBam -i Amplicons.bed -g hg1g_genome.txt > Amplicons.bam

          Thank you.

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            You need to compile the bedtools package. What you have downloaded is the source code.

            Comment

            • cmccabe
              Senior Member
              • Jul 2012
              • 355

              #7
              bed2bam

              where do I download the correct package for cygwin? Thanks.

              Comment

              • GenoMax
                Senior Member
                • Feb 2008
                • 7142

                #8
                Originally posted by cmccabe View Post
                where do I download the correct package for cygwin? Thanks.
                You will have to compile the package yourself. Bedtools is not supplied in binary form for cygwin.

                You may need to install "gcc-g++" compiler for cygwin along with the make utility, zlib, zlib-devel library. You also need to install python.

                Run the "setup.exe" for cygwin and then select these packages when you get to the package install screen.
                Last edited by GenoMax; 07-09-2013, 07:37 AM.

                Comment

                • cmccabe
                  Senior Member
                  • Jul 2012
                  • 355

                  #9
                  bed2bam

                  The bedtools package has been compiled for cygwin and the bin folder appears.

                  perl bedToBam -i Amplicons.bed -g hg19_genome.txt > Amplicons.bam
                  Can't open perl script "bedToBam": No such file or directory

                  bedToBam -i Amplicons.bed -g hg19_genome.txt > Amplicons.bam
                  -bash: bedToBam: command not found. I can not find the error. Thanks.

                  Comment

                  • GenoMax
                    Senior Member
                    • Feb 2008
                    • 7142

                    #10
                    Originally posted by cmccabe View Post
                    The bedtools package has been compiled for cygwin and the bin folder appears.

                    perl bedToBam -i Amplicons.bed -g hg19_genome.txt > Amplicons.bam
                    Can't open perl script "bedToBam": No such file or directory

                    bedToBam -i Amplicons.bed -g hg19_genome.txt > Amplicons.bam
                    -bash: bedToBam: command not found. I can not find the error. Thanks.
                    You now have a compiled application. You do not need perl to run it (this is a C program BTW).

                    Run it like this (replace "path_to" with the actual directory path). This assumes that you are in the directory where the Amplicons.bed/hg19_genome files are.

                    Code:
                    $ /path_to/bin/bedToBam -i Amplicons.bed -g hg19_genome.txt > Amplicons.bam
                    Last edited by GenoMax; 07-09-2013, 11:20 AM.

                    Comment

                    • cmccabe
                      Senior Member
                      • Jul 2012
                      • 355

                      #11
                      bed2bam

                      I get this error:
                      Microsoft Windows [Version 6.1.7601]
                      Copyright (c) 2009 Microsoft Corporation. All rights reserved.

                      C:\Users\cmccabe>cd "C:\Users\cmccabe\Desktop\bedtools-2.17.0" (both files are here)

                      C:\Users\cmccabe\Desktop\bedtools-2.17.0>\Desktop\bedtools-2.17.0/bin/bedToBam -
                      i Amplicons.bed -g hg19_genome.txt > Amplicons.bam
                      The system cannot find the path specified.

                      Thanks.

                      Comment

                      • Heisman
                        Senior Member
                        • Dec 2010
                        • 534

                        #12
                        I haven't used Cygwin but it is weird to me that you have both "/" and "\" in your paths. You can try typing "pwd" to see the full path to the directory you are in.

                        Comment

                        • cmccabe
                          Senior Member
                          • Jul 2012
                          • 355

                          #13
                          bed2bam

                          Cygwin was only used as a compiler:

                          I am using cmd and getting that error.

                          Comment

                          • Heisman
                            Senior Member
                            • Dec 2010
                            • 534

                            #14
                            Oh, right. Could you try changing the "/" to "\"? And make sure all of the files are in the bedtools-2.17.0 folder.

                            Comment

                            • cmccabe
                              Senior Member
                              • Jul 2012
                              • 355

                              #15
                              bed2bam

                              Here is the error:

                              Microsoft Windows [Version 6.1.7601]
                              Copyright (c) 2009 Microsoft Corporation. All rights reserved.

                              C:\Users\cmccabe>cd "C:\Users\cmccabe\Desktop\Ion_Torrent_ Software\bedtools-2.1
                              7.0" (files here)

                              C:\Users\cmccabe\Desktop\Ion_Torrent_ Software\bedtools-2.17.0>bedToBam -i Ampli
                              cons.bed -g hg19_genome.txt > Amplicons.bam
                              'bedToBam' is not recognized as an internal or external command,
                              operable program or batch file.

                              Thanks.

                              Comment

                              Latest Articles

                              Collapse

                              • SEQadmin2
                                Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                                by SEQadmin2



                                CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                                Despite this, “CRISPR helped turn genome editing from a specialized technique into
                                ...
                                Today, 11:01 AM
                              • SEQadmin2
                                Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                                by SEQadmin2


                                Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                                The systematic characterization of the human proteome has
                                ...
                                07-20-2026, 11:48 AM
                              • 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

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, Today, 02:55 AM
                              0 responses
                              8 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-24-2026, 12:17 PM
                              0 responses
                              12 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-23-2026, 11:41 AM
                              0 responses
                              12 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-20-2026, 11:10 AM
                              0 responses
                              24 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...