This is a test version of Biostars. For the public version, visit https://www.biostars.org.
bam file: get date that alignment was run

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

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.

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

0 answers

No answers yet.

Log in to answer this question.