merge bam
I am trying to create a combined bam file, from 8 files, to view on IGV
I get this error
What I can do ?
base) javier@iMac-de-JAVIER BWA % samtools merge -o merged.bam V350019555_L03_B5GHUMqcnrRAABA-549.bam V350019555_L03_B5GHUMqcnrRAABA-550.bam V350019555_L03_B5GHUMqcnrRAABA-551.bam V350019555_L03_B5GHUMqcnrRAAB(base) javier@iMac-de-JAVIER BWA % samtools merge -o merged.bam V350019555_L03_B5GHUMqcnrRAABA-549.bam V350019555_L03_B5GHUMqcnrRAABA-550.bam V350019555_L03_B5GHUMqcnrR(base) javier@iMac-de-JAVIER BWA % samtools merge -o merged.bam V350019555_L03_B5GHUMqcnrRAABA-549.bam V350019555_L03_B5GHUMqcnrRAABA-550.(base) javier@iMac-de-JAVIER BWA % samtools merge -o merged.bam V350019555_L03_B5GHUMqcnrRAABA-549.bam V350019555_L03_B5GHUMqcnrRAABA-550.bam V350019555_L03_B5GHUMqcnrRAABA-551.bam V350019555_L03_B5GHUMqcnrRAABA-552.bam V350019555_L03_B5GHUMqcnrRAABA-553.bam V350019555_L03_B5GHUMqcnrRAABA-554.bam V350019555_L03_B5GHUMqcnrRAABA-555.bam V350019555_L03_B5GHUMqcnrRAABA-556.bam
samtools: invalid option -- o
the version es 1.3.1
Unconfigured Ad
Collapse
X
-
I guess the size increase because the output qualities are less homogenous, ie the number of different letters coded as qualities increased and hence it's "harder" to compress.
I guess such sequence is easier to compress:
",:,:,F,::F,,FFFF,,F,,,F:F::,F,F,F,F,F,FFF:,FF,F,:,:FF,F,F:FFFFFFFFF,FFFF:FFFFFF:FFFFFFFFFFFFFFFFFF,FF"
than
"/>-=-H'@>;/-BGCF-/B0.-F>B@@.J-B0C-F/B0CFF?'GC-F/70>FF/B0C=FHBHCFFHB0CGFH7GDGGHC@CFFHBGCFFHBGCFFGDI0GE" like in my case after recalibration.
Leave a comment:
-
Perhaps this is applicable in your case as well: http://gatkforums.broadinstitute.org...-recalibration
Leave a comment:
-
I haven't used it in forever but it may be keeping the old quality scores as well as the recalibrated ones. If that is default now there is an option to have it not do that (at least there was over a year ago when I last looked at this).
Leave a comment:
-
bam file increases in size following base recalibration
I am doing some whole genomes and after the alignments, I am doing the indel-realign and base reaclibration steps. I am seeing an odd result. The bam file after the base recalibration increases in size as below:
After the indel re-align, which is the same size as the originally mapped file:
114G Aug 23 08:51 Nrml_IndelRealin.bam
96G Aug 23 21:59 umr_IndelRealin.bam
After base quality recalibration:
126G Aug 25 20:40 Nrml_IndelRealin.BQSR.bam
127G Aug 25 15:44 Tumr_IndelRealin.BQSR.bam
Is this normal? Should the file size increase?
ThanksTags: None
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, Today, 09:56 AM
|
0 responses
9 views
0 reactions
|
Last Post
by SEQadmin2
Today, 09:56 AM
|
||
|
Started by SEQadmin2, 10-09-2026, 11:14 AM
|
0 responses
22 views
0 reactions
|
Last Post
by SEQadmin2
10-09-2026, 11:14 AM
|
||
|
Started by SEQadmin2, 09-29-2026, 09:51 AM
|
0 responses
75 views
0 reactions
|
Last Post
by SEQadmin2
09-29-2026, 09:51 AM
|
||
|
Started by SEQadmin2, 09-25-2026, 09:06 AM
|
0 responses
56 views
0 reactions
|
Last Post
by SEQadmin2
09-25-2026, 09:06 AM
|
Leave a comment: