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
Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.
We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing...-
Channel: Articles
-
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, 09-29-2026, 09:51 AM
|
0 responses
26 views
0 reactions
|
Last Post
by SEQadmin2
09-29-2026, 09:51 AM
|
||
|
Started by SEQadmin2, 09-25-2026, 09:06 AM
|
0 responses
44 views
0 reactions
|
Last Post
by SEQadmin2
09-25-2026, 09:06 AM
|
||
|
Started by SEQadmin2, 09-23-2026, 11:05 AM
|
0 responses
33 views
0 reactions
|
Last Post
by SEQadmin2
09-23-2026, 11:05 AM
|
||
|
Started by SEQadmin2, 09-18-2026, 11:37 AM
|
1 response
50 views
0 reactions
|
Last Post
by pekgio
09-21-2026, 02:04 AM
|
Comment