Originally posted by cmccabe
View Post
Unconfigured Ad
Collapse
X
-
$ cd /cygdrive/c/Users/cmccabe/Desktop/Ion_Torrent_ Software/bedtools-2.17.0
$ bin/bamToBed -i Amplicons.bed -g hg19_genome.txt > Amplicons.bam
The command runs in perl however the input Amplicons.bed in 44kb and the output amplicons.bam is 0kb. That doesent seem right and below is a couple lines from the BED file. Thanks.
chr1 2160290 2160475 AMPL2688828352 . SKI
chr1 2160480 2160634 AMPL2688829530 . SKI
Comment
-
In post #17 you had "bamToBed" listed instead of "bedToBam". Perhaps a typo or a wrong command?Originally posted by cmccabe View PostWhat I am trying to do is to calculate predicted off-target reads based on a BED file?
One sugesstion was to use bedToBam (from bedtools) followed by Picard's CalculateHSMetrics
Thanks.
Comment
-
Since you are trying to do this on windows there could be some issue with file formats etc. It would be tough to diagnose them through the forum.
Do you think you would be up to trying this through the cygwin terminal (instead of windows terminal)?Last edited by GenoMax; 07-10-2013, 06:29 AM.
Comment
-
bed2Bam
I re-compiled in cygwin
did dos2unix Amplicons.bed
dos2unix hg19_genome.txt
both of those files are tab- deliminated
and the commands I used in Cygwin:
$ cd "/cygdrive/c/Users/cmccabe/Desktop/Ion_Torrent_ Software/bedtools-2.17.0"
$ bin/bamToBed -i Amplicons.bed -g hg19_genome.txt > Amplicons.bam
Amplicons.bed (went from 44kb to 43kb)
chr1 2160290 2160475 SKI . AMPL2688828352
chr1 2160480 2160634 SKI . AMPL2688829530
chr1 2160632 2160738 SKI . AMPL2688828058
hg19_genome.txt (1kb) - acc chromosomes and lenghths are in this file
chr1 249,250,621
chr2 243,199,373
Amplicons.bam is still 0kb and not working.
Comment
Latest Articles
Collapse
-
by SEQadmin2
When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...-
Channel: Articles
11-24-2026, 07:04 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, Yesterday, 11:10 AM
|
0 responses
12 views
0 reactions
|
Last Post
by SEQadmin2
Yesterday, 11:10 AM
|
||
|
Single-Nucleus Sequencing Links Type 2 Diabetes Risk Variants to Specific Muscle Cell Types
by SEQadmin2
Started by SEQadmin2, 12-01-2026, 11:06 AM
|
0 responses
21 views
0 reactions
|
Last Post
by SEQadmin2
12-01-2026, 11:06 AM
|
||
|
Started by SEQadmin2, 11-23-2026, 11:11 AM
|
0 responses
60 views
0 reactions
|
Last Post
by SEQadmin2
11-23-2026, 11:11 AM
|
||
|
Started by SEQadmin2, 11-17-2026, 06:27 AM
|
0 responses
56 views
0 reactions
|
Last Post
by SEQadmin2
11-17-2026, 06:27 AM
|
Comment