Thanks for your directions.
module load sambamba/0.6.8
sambamba view -H $in | head
sambamba 0.6.8 by Artem Tarasov and Pjotr Prins (C) 2012-2018 LDC 1.10.0 / DMD v2.080.1 / LLVM6.0.1 / bootstrap LDC - the LLVM D compiler (0.17.4)
@HD VN:1.0 SO:coordinate @SQ SN:1 LN:249250621
AS:assembly19 SP:Homo_sapiens
I then downloaded the .GTF file from ensemble. Thanks.
To your revert to fastq, I did not do that but it was recommended as several pipelines start with fastq files.
bedtools bamtofastq [OPTIONS] -i <BAM> -fq <FASTQ>