Closed subwaystation closed 9 months ago
Should STM or VG automatically have create the GAM.GAI and forgot?
Generating the files manually worked. I still think there is a problem in the STM code to handle such a case.
We are indeed supposed to automatically sort and index GAM files when they are uploaded: https://github.com/vgteam/sequenceTubeMap/blob/26266cc685f6492799d0426653df3d5e1bb5ff98/src/server.mjs#L262
@ducku Do you have any idea why that wouldn't be happening?
@subwaystation Does this happen every single time you upload a GAM file? Or is there something special you have to do? Do you have the server log from the GAM file being uploaded?
I can't seem to be able to reproduce the issue. I'm not too sure what could be causing the problem. The .gai file is being automatically generated upon uploading a sorted gam file for me.
I may have been not precise enough. I didn't upload a GAM, but put it into exampleData
.
If you want to hand the files to the server and not upload through the browser, right now you need to use the included scripts such as prepare_gam.sh
to make the required index. We don't have logic to see that a GAM file was put in the directory and automatically produce the indexes for it. Perhaps we should?
Aah, got it. Thanks!
Hi there, I am using the most recent master from today and ran into the following:
I supplied a XG and a GAM file. However, STM complained:
Any ideas what could be the issue here? Thanks!