Open cmdcolin opened 11 months ago
This removes checks for "file out of bounds" to cram-js
While the code is a bit "safer" perhaps with these checks, they require that "stat" works which requires specialized CORS headers to be set. Access to files for example https://ftp.1000genomes.ebi.ac.uk/vol1/ftp/data_collections/HGDP/data/Sindhi/HGDP00171/alignment/HGDP00171.alt_bwamem_GRCh38DH.20181023.Sindhi.cram work with this PR enabled, but not without this PR
Draft PR because tests may be non-passing, but tested in the genome browser
an alternative is making these checks "optional" so they are applied if the stat result is available so you get some partial safety from this
This removes checks for "file out of bounds" to cram-js
While the code is a bit "safer" perhaps with these checks, they require that "stat" works which requires specialized CORS headers to be set. Access to files for example https://ftp.1000genomes.ebi.ac.uk/vol1/ftp/data_collections/HGDP/data/Sindhi/HGDP00171/alignment/HGDP00171.alt_bwamem_GRCh38DH.20181023.Sindhi.cram work with this PR enabled, but not without this PR
Draft PR because tests may be non-passing, but tested in the genome browser