You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to append the current STRling version number to the filename so that users can keep track of file versions down the track? For example:
hg19.STRchive-disease-loci.v2.0.2.TRGT.bed (open to format suggestions)
hdashnow
changed the title
Append STRchive version number to files downloaded from /loci/#downloads
Append STRchive version number to files downloaded from /loci#downloadsNov 30, 2024
As for the releases, for now you can continue to do it manually, but you can also write GitHub Actions workflows to automate releases. For example, we could have a workflow that runs any time a PR is merged into main, and if the version number in CITATION.cff is increased, we automatically create a new tag and release, and attach files (renamed to include version string).
As for file naming convention, I think these names are a bit hard to read, especially with the repeated use of periods. If someone were to try to write code to parse out the parts, it'd also be a challenge. If you're open to changing the file names, I'd recommend something like this:
STRchive-disease-loci_v1.2.0_hg19_TRGT.bed
So it's in order of increasing specificity... Starting with the project as a whole, then the project version, etc., with big "parts" always separated with underscores .
Currently, downloaded files look like this:
hg19.STRchive-disease-loci.TRGT.BFiBXWeD.bed
Would it be possible to append the current STRling version number to the filename so that users can keep track of file versions down the track? For example:
hg19.STRchive-disease-loci.v2.0.2.TRGT.bed
(open to format suggestions)I'd also want to generate something similar for all the files, including json, to attach to the release. I've just been doing this manually. For example:
https://github.com/dashnowlab/STRchive/releases/tag/v1.2.0
The text was updated successfully, but these errors were encountered: