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
The immune system’s power comes from its genetic diversity, allowing myriad threats to be neutralized through first recognizing foreign antigens. That diversity is also what makes the immune system so difficult to study. Recent advances in sequencing technology and computational biology, however, are giving researchers new tools to understand immune responses and immune-related diseases in greater detail.
This convergence of genetics, immunology, and computation...-
Channel: Articles
Yesterday, 05:41 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, 08-24-2026, 10:32 AM
|
0 responses
46 views
0 reactions
|
Last Post
by SEQadmin2
08-24-2026, 10:32 AM
|
||
|
Started by SEQadmin2, 08-20-2026, 11:17 AM
|
0 responses
48 views
0 reactions
|
Last Post
by SEQadmin2
08-20-2026, 11:17 AM
|
||
|
Started by SEQadmin2, 08-18-2026, 10:05 AM
|
0 responses
55 views
0 reactions
|
Last Post
by SEQadmin2
08-18-2026, 10:05 AM
|
||
|
Started by SEQadmin2, 08-13-2026, 12:22 PM
|
0 responses
50 views
0 reactions
|
Last Post
by SEQadmin2
08-13-2026, 12:22 PM
|
Comment