BD Influx index file counter

When requested by management for statistics on index sorting by our customers we wrote this script. It will trawl though the folders and count the number of index .fcs files and the number of folders that contain them.

When asked by management for statistics on index sorting by our customers we wrote this script. It will trawl though the folders and count the number of index .fcs files and the number of folders that contain them. We use a folder structure that allows us to count index experiments and users. It is: C:\INFLUX files\User 1\01Jan17\somefile.fcs

Remember this script takes advantage of our data storage structure at the Sanger Institute. If you organise your user files differently it will not work. However you are free to adjust the script to allow it to wiork in your system.

The script is on GitHub: https://github.com/SangerCytometry/Influx-index-file-counter

INSTRUCTIONS

  • Place the script into the top directory of your users .fcs file storage area.
  • Run the script, it will take a while, but it will also display the filename and path of every index file it finds to let you know it is running.
  • It will produce a stats.csv file with all the statisitcs you need and place it in the same folder as the python script.

Sanger Institute Contributors

Previous contributors

Photo of Christopher Hall

Christopher Hall

Senior Research Assistant