Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • bamtobed (naive) question

    Apologies in advance...

    I am using samtools bamToBed in my mac el capitan terminal.

    I get what looks to be the appropriate output in all chromosomes after some time.

    How do I actually save this as a .bed file? Or, if it is autosaved, where do I find it?

  • #2
    What was the command that you used to create the bedfile?

    I expect that it should be either in your working directory - the directory that you called the command from, or the directory where your bam file is, and should have the same name as your bam file, but with the suffix .bed.

    Comment


    • #3
      Thanks, I thought so boy couldn't find it, will look harder tomorrow

      I used bamtobed -i <file.bam>

      Comment


      • #4
        If you use the command as it is, you get everything printed in your terminal, don't you?
        So, you simply have to redirect in into a file: "bamToBed -i yourBamFile.bam > ./SaveItInTheCurrentFolder.bed

        Comment


        • #5
          Originally posted by WhatsOEver View Post
          If you use the command as it is, you get everything printed in your terminal, don't you?
          So, you simply have to redirect in into a file: "bamToBed -i yourBamFile.bam > ./SaveItInTheCurrentFolder.bed
          exactly! I worked it out eventually, thanks!

          Comment

          Latest Articles

          Collapse

          • seqadmin
            Essential Discoveries and Tools in Epitranscriptomics
            by seqadmin


            The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist on Modified Bases...
            Today, 07:01 AM
          • 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

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 04-11-2024, 12:08 PM
          0 responses
          37 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          41 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 09:21 AM
          0 responses
          35 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-04-2024, 09:00 AM
          0 responses
          54 views
          0 likes
          Last Post seqadmin  
          Working...
          X