bam file: get date that alignment was run
0
0
Entering edit mode
4.6 years ago
brismiller ▴ 60

Hey all,

This is kind of random, but it there date information in bam files for when the alignment was run, or when the file was created? Maybe in the header?

Cheers!

RNA-Seq alignment sequencing • 871 views
ADD COMMENT
1
Entering edit mode

I'm not aware of date information directly stored in the bam file, but your operating system should record the date of the last change you did to the file. This can be equivalent to the .bam creation date if the file has not been modified afterwards. To view this, use CTR + i or CMD + i on the bam file or type ls -lh my_bam in terminal.

ADD REPLY
0
Entering edit mode

check the header with samtools : samtools view -H align.bam

ADD REPLY

Login before adding your answer.

Traffic: 1807 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