Making regulatory submissions to FDA (US Food and Drug Administration) includes a number of steps. One crucial step is to ensure that the final submission archive is in the expected format and uses the correct encodings and schemes.
In this article, we will discuss how to use some popular archival utilities to create an FDA-compatible archive.
This article focuses solely on the steps for creating the archive and assumes you already have the necessary content prepared in the correct file structure for submission to the FDA.
First, let’s examine the basic requirements that a submission archive must meet to be accepted by the FDA systems for processing.
tar.gz
(tarred and then gzipped) format.foo/bar/baz/data.xml
, it should be preceded by a foo/bar/baz/
directory entry, which should in turn be
preceded by a foo/bar/
, and so forth.Now, let’s explore how we can use some widely used archival utilities to create an archive that meets these requirements.
In MS Windows, we will use the popular file archival utility named 7-Zip for this purpose. You can download this utility from their official website and install it on your Windows machine.
Creating a .tar.gz file in 7-Zip is a two-step process. First, we need to create a .tar
file with the necessary content.
Then, we create a .tar.gz
file by gzipping that tar file.
.tar
file with the provided name at the same location where
the folder you selected earlier was on..tar.gz
file with the provided name at the same location
where the folder your source folder (and the .tar
file) was on. This file can be now submitted to the FDA using an
AS2 connection via a software such as the MFT Gateway.At the time of writing this article, a comparable reliable GUI tool for macOS was unavailable. Therefore, we will utilize the well-known command line utility, GNU Tar, for this purpose on macOS.
We will be using Homebrew, a popular software package manager for macOS, to install the GNU Tar utility. If Homebrew is not already installed on your system, you can install it by executing the following command in the macOS terminal.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
GNU Tar is available to be installed as a Homebrew Formulae for Mac. To
install it, you can open the terminal application and execute the following command.
brew install gnu-tar
You should see a line similar to the below, if the installation was successfully completed.
GNU "tar" has been installed as "gtar".
To create the archive, first navigate to the folder where your submission-ready content is available, using the macOS
terminal.
cd /Users/john/Desktop/FDA-Submissions
Then, execute the following command to create a tar.gz
archive that includes the submission folder and its contents.
gtar -cvzf 123124425-0002.tar.gz --format=gnu 123124425/
In the above command, 123124425-0002.tar.gz
is the name of the archive to be created. You can replace it with an
appropriate name that adheres to your organization’s file naming conventions for FDA submissions. Additionally,
123124425/
is the directory to be included in the submission (generally this will be the one with Application ID as
the name), so ensure you replace this with the actual name of the directory on your computer.
Once the command is successfully executed, a tar.gz
file with the specified name will be created in the current
folder. This file can be now submitted to the FDA using an AS2 connection via a software such as
the MFT Gateway.
The software recommendations provided in this article are based on general information and personal experience, and is offered for informational purposes only. We do not endorse or guarantee the performance, reliability, or suitability of the recommended software for any specific purpose. Before using any software, we strongly encourage you to perform your own research and due diligence to determine whether it meets your specific needs and requirements. Aayu Technologies does not endorse or assume responsibility for any software or third-party services mentioned.
Udith is the Chief Technology Officer at Aayu Technologies. With over 9 years of experience in the enterprise software industry, he has been instrumental in architecting, developing, and maintaining a range of enterprise software solutions, particularly B2B communication software, with a significant focus on cloud technologies.