Adding a column to a SAM File
1
0
Entering edit mode
7.6 years ago
zaidnab • 0

Hi all! I am trying to edit a Sam File. What I am trying to do is add a new column to the end. Currently, there are 12 columns, but I want to add one more, that will store more information. Is this possible? When I have tried, I have been getting a parse error when trying to convert the SAM file into a BAM file. Please let me know, I would appreciate it tremendously :)

sequence gene alignment • 2.3k views
ADD COMMENT
1
Entering edit mode
7.6 years ago
Asaf 10k

You can add your data if it follows the TAG:TYPE:VALUE format. See the specifications of the sam file here: https://samtools.github.io/hts-specs/SAMv1.pdf The last columns specifications (which are optional) are in 1.5. Make sure your tag is lowercase or starts with X Y or Z

ADD COMMENT

Login before adding your answer.

Traffic: 1932 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6