SATAY-LL/Transposonmapper

Update save_as_wig.py

Closed this issue · 3 comments

The key 'VariableStep' has a typo that does not agree with the .wig format and causes errors when accessing the file with other software. Changed the 'VariableStep' key into 'variableStep' to make it agree with the .wig format.

@EKingma thanks for your comment!
Can you elaborate more on this change? For what did you want it to use and did not work? and how do you know this the change or if it is the only change we should make then to the file?

It basically does not work for anything (viewers, importers in python) that assumes the standard wiggle format (you can see the standard format here [https://m.ensembl.org/info/website/upload/wig.html]. I tried to manually change that key in the file and that solves at the import problem, so I guessed it is probably easier if this typo is simply removed from the standard output of your pipeline

ok! I will merge it to develop then and test it , to merge later into main .