Originally posted by cmccabe
View Post
Seqanswers Leaderboard Ad
Collapse
X
-
Is your "Amplicons.bed" file actually gzip compressed? Otherwise this doesn't make sense. Your command line doesn't include "amplicons.bab" so I don't see why that is relevant for the command you typed. If you type "less Amplicons.bed", can you read the file, or does it tell you it may be binary format or something like that?
Comment
-
-
bed2Bam
total 141
-rw-rw-r-- 1 dnascopev dnascopev 16544 Jul 12 12:16 amplicons.bam
-rw-rw-r-- 1 dnascopev dnascopev 51482 Jul 12 12:06 epilepsy.bed
drwxrwxr-x 2 dnascopev dnascopev 1024 Jul 12 11:48 bin
drwxrwxr-x 2 dnascopev dnascopev 3072 Jul 12 11:48 obj
drwxr-xr-x 2 dnascopev dnascopev 1024 Jul 11 13:38 data
drwxr-xr-x 4 dnascopev dnascopev 1024 Jul 11 13:38 docs
drwxr-xr-x 2 dnascopev dnascopev 1024 Jul 11 13:38 genomes
drwxr-xr-x 2 dnascopev dnascopev 1024 Jul 11 13:38 scripts
drwxr-xr-x 40 dnascopev dnascopev 1024 Jul 11 13:38 src
-rw-r--r-- 1 dnascopev dnascopev 17988 Nov 3 2012 LICENSE
-rw-r--r-- 1 dnascopev dnascopev 6693 Nov 3 2012 Makefile
-rw-r--r-- 1 dnascopev dnascopev 1505 Nov 3 2012 README.rst
-rw-r--r-- 1 dnascopev dnascopev 32293 Nov 3 2012 RELEASE_HISTORY
drwxr-xr-x 20 dnascopev dnascopev 1024 Nov 3 2012 test
Thanks.
Comment
-
-
bed2Bam
total 141
-rw-rw-r-- 1 dnascopev dnascopev 16544 Jul 12 12:16 amplicons.bam
-rw-rw-r-- 1 dnascopev dnascopev 51482 Jul 12 12:06 epilepsy.bed
drwxrwxr-x 2 dnascopev dnascopev 1024 Jul 12 11:48 bin
drwxrwxr-x 2 dnascopev dnascopev 3072 Jul 12 11:48 obj
drwxr-xr-x 2 dnascopev dnascopev 1024 Jul 11 13:38 data
drwxr-xr-x 4 dnascopev dnascopev 1024 Jul 11 13:38 docs
drwxr-xr-x 2 dnascopev dnascopev 1024 Jul 11 13:38 genomes
drwxr-xr-x 2 dnascopev dnascopev 1024 Jul 11 13:38 scripts
drwxr-xr-x 40 dnascopev dnascopev 1024 Jul 11 13:38 src
-rw-r--r-- 1 dnascopev dnascopev 17988 Nov 3 2012 LICENSE
-rw-r--r-- 1 dnascopev dnascopev 6693 Nov 3 2012 Makefile
-rw-r--r-- 1 dnascopev dnascopev 1505 Nov 3 2012 README.rst
-rw-r--r-- 1 dnascopev dnascopev 32293 Nov 3 2012 RELEASE_HISTORY
drwxr-xr-x 20 dnascopev dnascopev 1024 Nov 3 2012 test
I changed to amplicons.bed and a GZ folder with the BAM results that is 0 bytes and I get an error occurred while extracting the files. The file type in unknown so maybe that is part of it, but is 0 bytes really right?Thanks.
Comment
-
-
bed2Bam
Tool: bedtools bedtobam (aka bedToBam)
Version: v2.17.0
Summary: Converts feature records to BAM format.
Usage: bedtools bedtobam [OPTIONS] -i <bed/gff/vcf> -g <genome>
Options:
-mapq Set the mappinq quality for the BAM records.
(INT) Default: 255
-bed12 The BED file is in BED12 format. The BAM CIGAR
string will reflect BED "blocks".
-ubam Write uncompressed BAM output. Default writes compressed BAM.
Notes:
(1) BED files must be at least BED4 to create BAM (needs name field).
Looks like the bed is the problem, when I did dos2unix I got the above.
The bed:
chr1 40539720 40539896 AMPL4669271522 . PPT1
chr1 40542435 40542658 AMPL5154908878 . PPT1
chr1 40544200 40544360 AMPL3675665035 . PPT1
Thanks.
Comment
-
-
I remember what we're trying to do; I think we'll get there eventually.
A tip: with most programs in this field, once you download and untar the directory, there is usually a README or INSTALL file that will tell you what to do. If you go to the samtools directory and type "cat INSTALL", you'll see what to do. Try to install it, and then try the "pathToSamtools/samtools view -h amplicons.bam and see if it looks ok to you.
Comment
-
Latest Articles
Collapse
-
by seqadmin
This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.
The Headliner
The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...-
Channel: Articles
03-03-2025, 01:39 PM -
-
by seqadmin
The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...-
Channel: Articles
02-24-2025, 06:31 AM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, Yesterday, 05:03 AM
|
0 responses
16 views
0 reactions
|
Last Post
by seqadmin
Yesterday, 05:03 AM
|
||
Started by seqadmin, 03-19-2025, 07:27 AM
|
0 responses
17 views
0 reactions
|
Last Post
by seqadmin
03-19-2025, 07:27 AM
|
||
Started by seqadmin, 03-18-2025, 12:50 PM
|
0 responses
18 views
0 reactions
|
Last Post
by seqadmin
03-18-2025, 12:50 PM
|
||
Started by seqadmin, 03-03-2025, 01:15 PM
|
0 responses
185 views
0 reactions
|
Last Post
by seqadmin
03-03-2025, 01:15 PM
|
Comment