Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • BAM to Bed Algorithm

    Hi, I'm looking for an algorithm/code I can use to convert BAM files to bed that I can stick in a C++ file. Preferably something that is generic/works for windows. I'm looking through bedtools but that only works for Unix/Apple so its harder to understand with all the added dependencies and other features bolted on and the inability to build/run it on my system natively (at least without a lot of hassle and additional downloading).
    Last edited by jarwulf; 04-29-2012, 07:28 PM.

  • #2
    If you are not ready to tackle the samtools library (there should be a Windows port, search for it in the forum) and make the BED writer yourself (that part should be simple, though, the BED format isn't that complicated), you could use the Picard library for parsing BAM (in Java, however, and you still need to make a BED writer).

    IMHO, I wouldn't start rewriting all the tools to fit them to the platform I use, rather get a platform-independent setup to be able to build and run all tools natively. In your case this means to get a cygwin installation if you only casually need Unix command line tools, or a virtual machine with Linux. I guess BEDtools won't be the only tool made for Unix you'll come across in the near future, if you're working with NGS data...

    Comment

    Latest Articles

    Collapse

    • seqadmin
      Exploring the Dynamics of the Tumor Microenvironment
      by seqadmin




      The complexity of cancer is clearly demonstrated in the diverse ecosystem of the tumor microenvironment (TME). The TME is made up of numerous cell types and its development begins with the changes that happen during oncogenesis. “Genomic mutations, copy number changes, epigenetic alterations, and alternative gene expression occur to varying degrees within the affected tumor cells,” explained Andrea O’Hara, Ph.D., Strategic Technical Specialist at Azenta. “As...
      07-08-2024, 03:19 PM
    • seqadmin
      Exploring Human Diversity Through Large-Scale Omics
      by seqadmin


      In 2003, researchers from the Human Genome Project (HGP) announced the most comprehensive genome to date1. Although the genome wasn’t fully completed until nearly 20 years later2, numerous large-scale projects, such as the International HapMap Project and 1000 Genomes Project, continued the HGP's work, capturing extensive variation and genomic diversity within humans. Recently, newer initiatives have significantly increased in scale and expanded beyond genomics, offering a more detailed...
      06-25-2024, 06:43 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, 07-19-2024, 07:20 AM
    0 responses
    37 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 07-16-2024, 05:49 AM
    0 responses
    47 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 07-15-2024, 06:53 AM
    0 responses
    57 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 07-10-2024, 07:30 AM
    0 responses
    43 views
    0 likes
    Last Post seqadmin  
    Working...
    X