Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Submission

Submission workflow

ENA Submission

After completing the installation and creating an ENA account, the submission process using the q2-ena-uploader consists of several steps:

  1. Import data into QIIME 2 artifacts.

  2. Upload sample and study metadata to ENA.

  3. Transfer raw reads to the ENA FTP server.

  4. Upload experiment metadata to ENA.

Step 1: Import data into QIIME 2 artifacts

Data imported into QIIME 2 are organized as data artifacts. Each artifact is assigned a Semantic Type, which determines its corresponding Artifact Class within the QIIME 2 framework.

Within our ENA submission workflow:

These artifacts represent all required inputs for the ENA submission workflow. Once imported, they are stored as .qza files within the QIIME 2 environment. Proceed to the next sections to import all necessary input data into QIIME 2.

Raw reads

This is a simple example illustrating the import of FASTQ sequencing data into QIIME 2 artifacts. More import options are described here .

qiime tools import \
  --type 'SampleData[PairedEndSequencesWithQuality]' \
  --input-path my-sequence-data/ \
  --input-format CasavaOneEightSingleLanePerSampleDirFmt \
  --output-path demux.qza

The sections bellow describe all types of metadata imports.

Study

To import the metadata of a study into the corresponding QIIME 2 artifacts, run:

qiime tools import \
  --type ENAMetadataStudy \
  --input-path study_metadata.tsv \
  --output-path study_metadata.qza

Sample

To import the sample metadata into the corresponding QIIME 2 artifacts, run:

qiime tools import \
  --type ENAMetadataSamples \
  --input-path sample_metadata.tsv \
  --output-path sample_metadata.qza

Checklists

  1. For sample submission, ENA provides metadata checklists detailing the minimal attributes required for different sample types. Please review the full range of ENA sample checklists before submitting your samples.

  2. When using the ENA default sample checklist for all your samples, you do not need to specify the default code ERC000011. However, if you apply multiple checklists for different samples, you must include all relevant ENA sample checklists codes in the metadata column checklist. In this case, create a single metadata TSV file that combines all columns from these checklists and fill in values only where applicable.

Experiment

To import the experiment metadata into the corresponding QIIME 2 artifacts, run:

qiime tools import \
  --type ENAMetadataExperiment \
  --input-path experiment_metadata.tsv \
  --output-path experiment_metadata.qza

Step 2: Upload sample and study metadata to ENA

Set ENA credentials

Before uploading to ENA, you need to set two environmental variables containing your ENA credentials:

   export ENA_USERNAME=<Webin-XXXXXX>
   export ENA_PASSWORD=<password>

Upload metadata

Execute the following QIIME 2 action to submit Study and Sample metadata to perform a test submission to the ENA dev server:

qiime ena-uploader submit-metadata-samples \
  --i-study study_metadata.qza \
  --i-samples sample_metadata.qza \
  --p-action ADD \
  --p-dev \
  --p-submission-hold-date <hold date> \
  --o-submission-receipt samples_receipt.qza

Step 3: Transfer raw reads to the ENA FTP server

Execute the following QIIME 2 action to transfer the FASTQ files to the ENA FTP server.

qiime ena-uploader transfer-files-to-ena \
  --i-demux <your reads artifact> \
  --p-action ADD \
  --o-metadata transfer_metadata.qza

Step 4: Upload experiment metadata to ENA

Execute the following QIIME 2 action to submit Experiment/Run metadata to ENA:

qiime ena-uploader submit-metadata-reads \
  --i-demux <your reads artifact> \
  --i-experiment experiment_metadata.qza \
  --i-samples-submission-receipt samples_receipt.qza \
  --i-file-transfer-metadata transfer_metadata.qza \
  --p-submission-hold-date <hold date> \
  --p-action ADD \
  --p-dev \
  --o-submission-receipt receipt.qza