Cell Browser dataset versioning
From Genecats
Jump to navigationJump to search
Occasionally, you may need to update a dataset to a newer version (e.g. corrected metadata or added samples). When doing so, it’s handy to keep the old files around (both the original files and the export) in case we need to roll back these changes or a user needs access to those older files for some reason.
To do this kind of update:
- Make a directory to store the old version (DATE should be the date the original dataset was wrangled):
mkdir v1_DATE
- Move all of the files from the current version into this v1_DATE directory
- Bump version number in desc.conf
- gzip the v1_DATE directory to make the older files smaller
You can repeat these steps as needed for new versions, incrementing both the version number in the directory name and in the desc.conf each time.