bihealth / sodar-server

SODAR: System for Omics Data Access and Retrieval
https://github.com/bihealth/sodar-server
MIT License
14 stars 3 forks source link

Add CRAM file support for IGV in study plugins #1908

Closed mikkonie closed 7 months ago

mikkonie commented 7 months ago

There is a request from @holtgrewe for adding .cram file support for IGV sessions. Spec forthcoming. If it's not too major, I'll get this in v0.14.2.

Spec

Tasks

holtgrewe commented 7 months ago

OK, here we go. For IGV it does not matter whether the file is a BAM or CRAM file so we can place CRAM everywhere we place BAM.

The current logic to identify the BAM file for a single sample/library

  1. in the library directory, look for all files ending in .bam
  2. sort this list lexicographically
  3. use the last found one

This logic needs to be changed to (1) reads "in the library directory, look for all files ending in .bam or .cram.

That's all we need.

mikkonie commented 7 months ago

Done.