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).
Unconfigured Ad
Collapse
X
-
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...
-
Latest Articles
Collapse
-
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...-
Channel: Articles
07-20-2026, 11:48 AM -
-
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.
...-
Channel: Articles
07-09-2026, 11:10 AM -
-
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...-
Channel: Articles
07-08-2026, 05:17 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, 07-24-2026, 12:17 PM
|
0 responses
20 views
0 reactions
|
Last Post
by SEQadmin2
07-24-2026, 12:17 PM
|
||
|
Started by SEQadmin2, 07-23-2026, 11:41 AM
|
0 responses
19 views
0 reactions
|
Last Post
by SEQadmin2
07-23-2026, 11:41 AM
|
||
|
Started by SEQadmin2, 07-20-2026, 11:10 AM
|
0 responses
26 views
0 reactions
|
Last Post
by SEQadmin2
07-20-2026, 11:10 AM
|
||
|
Started by SEQadmin2, 07-13-2026, 10:26 AM
|
0 responses
38 views
0 reactions
|
Last Post
by SEQadmin2
07-13-2026, 10:26 AM
|
Comment