SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
SOAP alignment format convert to SAM/BAM KevinLam Bioinformatics 31 01-10-2018 09:05 PM
SAM/BAM format to wiggle format pinki999 Bioinformatics 19 08-12-2015 01:35 AM
Dindel SAM/BAM format - viewing with IGV EHC General 0 10-06-2011 11:27 AM
How to convert BED format to SAM/BAM? seq_newbie Bioinformatics 1 06-23-2011 09:11 AM
RNA-Seq: SAMMate: a GUI tool for processing short read alignments in SAM/BAM format. Newsbot! Literature Watch 0 01-15-2011 03:50 AM

Reply
 
Thread Tools
Old 03-22-2010, 04:05 AM   #1
plichel
Junior Member
 
Location: Germany

Join Date: Mar 2010
Posts: 9
Default customize SAM/BAM format

Hi,

I want to analyse 454 data that cover exonic as well as intronic regions. Is it possible to hold this information in the bam and sam files ?
I could imagine to either (i) label each sequence position with a char, telling whether the position is in a exon or intron or (ii) have some string saying 1-100:intron;101-400:exon. I think the first way would provide better flexibility and is easier to read, but would consume more file size.
I also looked in the sam/bam doc but I didnt find any possibility to customize.

So is it possible to simply add my own fields into the sam and bam ? Would this recognized by the samtools sam/bam parsers ?

Thanks,
plichel
plichel is offline   Reply With Quote
Old 03-22-2010, 07:39 PM   #2
drio
Senior Member
 
Location: 4117'49"N / 24'42"E

Join Date: Oct 2008
Posts: 323
Default

You certainly can. The SAM specification has reserved fields for end users (check X? - page 6 of the spec).

I wouldn't recommend that though. I would keep everything in one BAM and parse
it as necessary. You can also consider having multiple BAMs containing the alignments
that match certain filters.
__________________
-drd
drio is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 07:48 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO