Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • BED Tools Tutorial

    Sorry I'm a total beginner in bioinformatics and really need some help.

    I'm on a mac and so far I've managed to install xcode and therefore was able to execute the installation process described here: http://code.google.com/p/bedtools/

    Now I've got the problem that I can't get anything started because I'm lacking the 'terminal' commands. So here I picked an example from the manual:

    ###########################

    5.4.1 Usage and option summary

    Usage: $ bamToBed [OPTIONS] -i <BAM>

    ###########################

    How would on use this command ?

    Thanx a lot in advance!

  • #2
    Do you have data in .bam format?

    Comment


    • #3
      Yes, but do I have to give the full path to the files or in which directory do I have to place them ?
      Which directory do I have to open in terminal, when I execute a command ?

      Comment


      • #4
        You can either give the full path to the files or work in the same directory as the files. You can call a command from any directory if it's installed somewhere in your PATH.

        Comment


        • #5
          I told you I'm an absolute beginner, but finally I've solved the problem.
          When I copied an example command like: $ bamToBed [OPTIONS] -i <BAM> I didn't remove the '$' so I had 2 '$' in the terminal which led to a 'command not known'. But now it works so I'll finally get back to you with some other basic usage questions

          Comment


          • #6
            Okay, as proposed here is my next question.
            When I use the coverageBed command, it gives me only the coverage for the specified regions in file b but not of the whole span. E.g. reference file b contains chr1: 1000-2000 , then I only get the mean coverage for this region. How can I get the per base coverage in this region ?

            Comment


            • #7
              Use the -d option for per base coverage. Available in version 2.9 and later.
              Aaron

              Comment


              • #8
                -d is what I used. The problem is, if in the reference b file are given e.g. 5 ranges like described before, I only get one value per each range. What I would like to have is for every base in the range. In this case: chr1: 1000-2000 I would expect 1000 lines of output.

                Comment


                • #9
                  That is odd. Could you post the command you used and the output?
                  Section 5.9.6 of the manual illustrates the way the output should loo.
                  Last edited by quinlana; 09-28-2010, 08:33 AM.

                  Comment

                  Latest Articles

                  Collapse

                  • seqadmin
                    Non-Coding RNA Research and Technologies
                    by seqadmin


                    Non-coding RNAs (ncRNAs) do not code for proteins but play important roles in numerous cellular processes including gene silencing, developmental pathways, and more. There are numerous types including microRNA (miRNA), long ncRNA (lncRNA), circular RNA (circRNA), and more. In this article, we discuss innovative ncRNA research and explore recent technological advancements that improve the study of ncRNAs.

                    [Article Coming Soon!]...
                    Yesterday, 08:07 AM
                  • seqadmin
                    Recent Developments in Metagenomics
                    by seqadmin





                    Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
                    09-23-2024, 06:35 AM
                  • seqadmin
                    Understanding Genetic Influence on Infectious Disease
                    by seqadmin




                    During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.

                    Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...
                    09-09-2024, 10:59 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by seqadmin, 10-02-2024, 04:51 AM
                  0 responses
                  14 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 10-01-2024, 07:10 AM
                  0 responses
                  24 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 09-30-2024, 08:33 AM
                  1 response
                  31 views
                  0 likes
                  Last Post EmiTom
                  by EmiTom
                   
                  Started by seqadmin, 09-26-2024, 12:57 PM
                  0 responses
                  20 views
                  0 likes
                  Last Post seqadmin  
                  Working...
                  X