Skip to main content

File renamer for FTIR files

Project description

FTIR File Renamer


Renames files from the FTIR based on strict naming scheme

Virtual Environment

Activate your FTIR renamer virtual environment

source ftir_rename/bin/activate

If that does not work, your environment may not exist. Create it as follows:

python3 -m venv ftir_rename
source ftir_rename/bin/activate


From the command line in the folder in which you would like to install the program:

pip install ftir_renamer


pip install --upgrade ftir_renamer


  • Unix-like environment
  • Spreadsheet of FTIR-related metadata (with .XLSX extension)
  • The .spc output files corresponding to the FTIR IDs in the spreadsheet


Shell script automating the renaming of files from a USB stick

Required Argument

The absolute path to the folder containing the .spc files


Example command to run the script

ftir_rename -f /path/to/FTIR_files

Python script that renames .spc files

Required Arguments

The path of the folder containing the FTIR output files
Absolute path to the spreadsheet containing the FTIR metadata
The absolute path of the folder to store the renamed files


Example command to run the script -f /path/to/FTIR.xlsx -s /path/to/files -o /path/to/outputs


Rename files for FTIR experiments using strict naming scheme

  -h, --help            show this help message and exit
required arguments:
  -s SPECTRA_PATH, --sequencepath SPECTRA_PATH
                        Path of .spc files to process.
  -f FILENAME, --filename FILENAME
                        Name of .xls(x) file with renaming information. Must
                        conform to agreed upon format. This file must be in the
                        supplied sequencepath.
  -o OUTPUTPATH, --outputpath OUTPUTPATH
                        Optionally specify the folder in which the renamed
                        files are to be stored. Provide the full path e.g.

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

ftir_renamer-0.6.tar.gz (5.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page