Skip to main content

Remove sensible content from a fast5 file or directory

Project description

fast5purge

Purge a fast5 file or directory of fast5 files from potentially sensitive information: the information in data in following locations will be erased:

  • UniqueGlobalKey/context_tags/filename
  • UniqueGlobalKey/context_tags/user_filename_input
  • UniqueGlobalKey/tracking_id/sample_id
  • UniqueGlobalKey/tracking_id/ip_address

WARNING:
Currently modifies fast5 file IN PLACE. You cannot get your original data data back if you do not have a copy.
I hope to fix this sooner or later, pull requests are very much welcome

usage: fast5purge.py [-h] [-d DIR] [-f FILE] [-r]

Remove sensible content from a fast5 file or directory

optional arguments:
  -h, --help            show this help message and exit
  -d DIR, --dir DIR     directory in which fast5 files have to be purged
  -f FILE, --file FILE  single fast5 file to purge
  -r, --recursive       recursively go through directory

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fast5purge-0.1.1.tar.gz (2.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page