Uploading sequence data to HIVE3: Difference between revisions

From HIVE Lab
Jump to navigation Jump to search
JewelDias (talk | contribs)
mNo edit summary
JewelDias (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
Back to [[FDA-ARGOS WIKI|Home Page]] for FDA-ARGOS
A step-by-step guide for data submitters to FDA-ARGOS
A step-by-step guide for data submitters to FDA-ARGOS



Latest revision as of 21:17, 2 December 2026

Back to Home Page for FDA-ARGOS

A step-by-step guide for data submitters to FDA-ARGOS

Who this is for

This guide is for groups contributing sequence data to FDA-ARGOS (data.argosdb.org). It covers getting a HIVE3 account, putting your sequence files into HIVE3, and sharing them with the GW ARGOS team. Describing how the data were produced is covered in the companion guide, “Submitting metadata as a BioCompute Object”.

Everything in this guide was done on the live system, so the screens match what you will see. The worked example uses a Bundibugyo virus genome, but the steps are the same for any organism.

How the submission works

There are four stages. You are responsible for the first two.

Stage Who does it What happens
1. Upload You Your sequence files go into a folder in your HIVE3 account.
2. Describe You You fill in the BCO and the metadata tables (companion guide).
3. Quality control GW ARGOS team The ARGOS quality-control pipeline is run over what you uploaded.
4. Release GW ARGOS team The checked records are loaded into data.argosdb.org.

Order of work

Upload your files before you write the BCO. The BCO has to say where each file is, and that answer is the HIVE3 folder and the object IDs, which only exist once the upload has finished. Uploading first also means problems with a file come to light before you have described it.

Step Covered in
1 Gather the sample, sequencing and assembly details. BCO guide, Part 2
2 Clean your sequence headers, so no patient or specimen identifiers remain. Upload guide, Part 3
3 Record an MD5 checksum for every file. Upload guide, Part 3
4 Upload the files to HIVE3 and note the object IDs. Upload guide, Parts 4 to 6
5 Write the BCO, then finish the metadata tables. BCO guide, Parts 3 and 4
6 Share the folder and reply on the email thread. Upload guide, Part 7

Do the checksums before you upload: the GW ARGOS team uses them to confirm that what arrived is what you sent, and the same values go into the BCO afterwards.

One field has to wait. bco_id in the sample metadata table is the object_id of your BCO, which the BioCompute Portal issues when you save the record. Fill in every other column first and add that one at the end. The BCO guide covers the steps not described here.

One thing worth settling early: a file naming scheme. Your file names are what tie the uploaded sequences to the rows of your metadata tables, and renaming files afterwards is the most common cause of delay.

Part 1. Getting a HIVE3 account

Register

Open the login page in a browser:

https://hive3.biochemistry.gwu.edu/dna.cgi?cmd=login

If you do not have an account yet, click Register to the right of the login box.

Figure 1. The HIVE3 login page. Register creates an account; Forgot password? resets one.

The registration form asks for your email address, your first and last name, and a password. The password must be at least eight characters and contain at least one lower-case letter, one upper-case letter and one numeral.

Beneath the form is a Group membership tree. Tick ARGOS (under HIVE) to request access to the ARGOS project. Group requests are not granted automatically. The colour key at the bottom of the tree shows the state of each request: purple for active, yellow for pending approval, green for newly added, red for deleted. You can register without choosing a group and ask for ARGOS access later.

Figure 2. The New User Registration form. Tick ARGOS in the Group membership tree to request project access.

Activate and log in

  1. Click Save. HIVE3 sends an activation email to the address you entered.
  2. Open that email and follow the activation link.
  3. Return to the login page and sign in with your email address and password.

Both the registration confirmation and the activation confirmation also arrive inside HIVE3 itself, as objects of type “Email Message” in your Inbox.

Send the GW ARGOS team the email address you registered with. They use it to grant your account ARGOS group membership, and you will need it again in Part 7, when you share your folder with them.

Part 2. Finding your way around

After logging in you land on your home screen. This is the file manager for everything you own in HIVE3, and it is where your uploads will appear.

Figure 3. The HIVE3 home screen. The tree is on the left, the object list in the centre, and the preview panel underneath.

Three areas matter:

Area What it is
The tree (left) HIVE Space is shared content. “All objects” is a flat list of everything you can see. Inbox is your own root, and the folders you create sit under it. Trash holds deleted objects.
The object list (centre) One row per HIVE3 object, with an ID, a summary and a creation date. The ID is the number the GW ARGOS team will ask you for.
The preview panel (bottom) Select any object and this panel fills with tabs for that object type. details, JSON, sharing and help are present for every type.

The row of icons above the object list filters it by object type. Which icons appear depends on what is in the folder you are looking at:

Icon Shows
all Everything in the current folder.
folders Folders only.
files Uploaded files that have not been turned into a typed object.
genomes Genomic sequence objects. Used for genomes fetched from GenBank, not for files you upload yourself.
reads Nucleotide read objects. Both your FASTQ files and your FASTA assemblies appear here.
annotations Annotation objects, for example from a GenBank feature table.
computations Analyses that have been run.
data-loading Upload and download jobs, with their progress.
add The upload form. This is the one you want in Part 4.

Part 3. Preparing your files

What to upload

For each genome, upload whichever of these you have:

File Format Example name
The assembled genome FASTA BDBV_001_assembly.fasta
The raw or trimmed reads FASTQ, gzip is fine BDBV_001_R1.fastq.gz, BDBV_001_R2.fastq.gz
An annotation, if you have one GenBank or GFF BDBV_001.gbk

HIVE3 works out what a file is from its extension, so keep to the standard ones: .fasta, .fa, .fastq, .fastq.gz, .gbk, .gff. A file with the wrong extension is stored, but not recognised, and has to be converted by hand afterwards.

Naming

Use one sample identifier per genome and put it at the front of every file belonging to that sample. The same identifier goes in the sample_name column of your metadata table. For a batch of twenty:

BDBV_001_assembly.fasta BDBV_001_R1.fastq.gz BDBV_001_R2.fastq.gz BDBV_002_assembly.fasta BDBV_002_R1.fastq.gz BDBV_002_R2.fastq.gz ... BDBV_020_assembly.fasta BDBV_020_R1.fastq.gz BDBV_020_R2.fastq.gz

It is worth avoiding spaces, and any character other than letters, digits, underscore, dash and dot, as these can be awkward to handle later in the pipeline.

Sequence headers

The header line of each sequence travels into HIVE3 exactly as you wrote it, and stays with the data. It is worth looking over the headers before you upload, and removing anything that identifies a patient or a specimen.

>BDBV_001 good: your own sample identifier >BDBV_001 patient-17 case-4432 do not upload: carries identifiers

To list the headers in a file before uploading it:

grep '^>' BDBV_001_assembly.fasta

The header is also how a sequence is matched to the right row of your metadata table, so keep your sample identifier in it rather than removing the header altogether.

Checksums

Record an MD5 checksum for each file before you upload it. It lets the GW ARGOS team confirm that what arrived is what you sent, and the value goes into the I/O domain of your BCO. On macOS or Linux:

md5sum *.fasta *.fastq.gz > checksums.md5

On Windows, in PowerShell:

Get-FileHash -Algorithm MD5 *.fasta,*.fastq.gz | Out-File checksums.md5

Send checksums.md5 to the GW ARGOS team along with your metadata.

Part 4. Creating a folder for your submission

Upload into a folder rather than straight into your Inbox. One folder per submission keeps the batch together, and it is the folder you will share with the GW ARGOS team in Part 7.

Figure 4. Edit, then Create, above the tree.
  1. Select Inbox in the tree on the left.
  2. Click Edit above the tree, then Create.
  3. Name the folder after your submission, for example BDBV_Liverpool_2026.
  4. The new folder appears under Inbox in the tree.

Naming the folder: your group name and the organism works well, with no spaces. It is how we will find your data among everyone else's.

Part 5. Uploading the files

Click add in the icon row above the object list. The upload form opens.

Figure 5. The upload form: file chooser at the top, processing options in the middle, destination at the bottom.

Choosing the files

  1. Click Choose Files and select one or more files from your computer.
  2. Click Add Another File to add a second row, and repeat as needed. There is no need to upload everything in one go. You can come back to the form as often as you like.
  3. Set the destination folder before clicking Start Upload, so the files land where you want them.

Processing options

The row of tick boxes controls what HIVE3 does with each file once it has arrived. They are all on by default, which is what you want.

Option What it does Leave it
automatically process file(s) Runs the steps below rather than just storing the file. ticked
Index Parses the FASTA or FASTQ into HIVE3's indexed sequence format, so the data can be searched and aligned. ticked
Quality Control Computes the read-level quality-control tables: base composition, quality by position, and length distribution. ticked
Screening Screens a subset of the reads against NT to estimate what is in the sample and flag contamination. ticked
Anonymize Runs a de-identification script, but only for EDF and EEG files. It has no effect on FASTA or FASTQ, so it makes no difference here (see the note below). ticked
Compress/Store Original Keeps your original file alongside the parsed object. ticked
Auto-permisssions Applies your default sharing permissions to the new objects. ticked

A word on sequence headers. The Anonymize option above does not apply to sequence data, so it will not remove identifiers for you. Anything left in a FASTA or FASTQ header, such as a patient number, specimen number or internal case ID, arrives in HIVE3 and stays with the data. Keeping the header to your own sample identifier, for example BDBV_001, is the safest approach. Part 3 has a one-line command for listing the headers in a file before you upload it.

Where the files go

Three fields at the bottom of the form control the destination.

Field What to do
Reference genome(s) Can be left empty. It applies only when you are uploading alignments.
Destination folder Click the ... button and pick the folder you made in Part 4. If this is left empty the files land loose in your Inbox, which is harder to tidy up later.
On behalf of the user Can be left empty.
Figure 6. The ... button opens a picker over your HIVE3 space. Choose your folder and click Select.

Now click Start Upload.

Watching it run

The page prints a warning in bold, “Please, DO NOT LEAVE THIS PAGE until your browser has finished the upload”, followed by a log of each step. This is normal. The warning applies to the transfer itself, which is the part your browser is doing.

Figure 7. A finished upload. The last line, beginning Success, is the one to wait for.

The log names each step as it is queued, then reports the bytes received and a line beginning Success with the new object numbers. Once that line appears the transfer is done and you can leave the page. Processing carries on afterwards on the server, so you can close the browser; large FASTQ files take a while to index.

To follow the processing, switch the icon row to data-loading, which lists the jobs with their percentage complete.

Part 6. Checking what arrived

Open your folder in the tree and click all in the icon row. You will see two kinds of row:

Row What it is
File Upload 100% The upload job. One of these per time you clicked Start Upload, listing every file in that batch. 100% means the transfer and processing finished.
<your file> n/ n Nucleotide read(s) The sequence object HIVE3 built from one of your files. These are the rows that matter, one per file, and n is the number of sequences found.
Figure 8. Three files sent in one batch: a single File Upload row naming all three, and a Nucleotide read(s) row for each file.

A gzipped file is unpacked on the way in, so BDBV_001_R1.fastq.gz becomes an object named BDBV_001_R1.fastq.

FASTA files are labelled Nucleotide read(s) too. A hand-uploaded assembly does not come in as Genomic sequence(s), even though that label exists elsewhere in HIVE3 for genomes fetched from GenBank. A FASTA holding one complete genome appears as 1/ 1 Nucleotide read(s). That is normal and does not mean anything went wrong.

Check three things for every file:

Check How
It is there One row per file you uploaded, with no duplicates from a retried upload.
It was recognised There is a Nucleotide read(s) row, not only a File Upload row and the bare file name. A file that stays under the files filter was not recognised, which is usually a wrong extension. Select it and click Convert in the toolbar above the object list, or upload it again with the right extension.
The counts look right The n/ n beside the name is how many sequences HIVE3 found. A FASTA holding one complete genome reads 1/ 1; a FASTQ of four reads reads 4/ 4. A truncated upload shows a number that is too small.

Select the object and the preview panel underneath fills with tabs: ACGT, sequences, histogram, positionalQC, taxonomy, codonQC and kraken-taxonomy, alongside details, JSON and sharing. The sequences tab lists what HIVE3 stored, with the length and identifier of each sequence, and is the quickest way to confirm that a file arrived intact and that your sample identifier survived.

Figure 9. The sequences tab. Long identifiers are shortened in the middle for display; the stored identifier is complete.

Record the object IDs

The ID in the first column is how the GW ARGOS team refers to your data. Copy them into a table and send it with your metadata:

Sample name File name HIVE3 object ID Type
BDBV_001 BDBV_001_assembly.fasta Nucleotide read(s)
BDBV_001 BDBV_001_R1.fastq.gz Nucleotide read(s)
BDBV_002
…

Part 7. Sharing the folder with the GW ARGOS team

Your uploads are private to you until you share them. Select your submission folder, then open the sharing tab in the preview panel. It shows who currently has access and what each of them can do.

Figure 10. The sharing tab. The pencil icon at the top left opens the permission editor; the two buttons at the bottom switch between direct and inherited permissions.

Click the pencil icon beside the refresh arrow. A sharing page opens in a new browser tab, with the list of people on the left and the permissions on the right. Sharing a folder covers everything inside it, so this is done once per submission rather than object by object.

Choosing the person

On the left is the Group Hierarchy: Everyone (world), then Guest users (public) and All registered users, with every HIVE3 account listed beneath. Click a name to select it. The two buttons at the foot of the list, Have direct permissions and Only inherited permissions, filter it.

Figure 11. The Group Hierarchy. Click a name to select that person.

Please grant access to each of us in turn:

  • Sean Keeney
  • Jewel Dias
  • Pat McNeely

If you cannot find one of us in the list, let us know and we will check the account name, as the display name is not always the same as the email address.

Setting the permissions

With the person selected, the right-hand side shows the folder at the top and a table of eight permissions beneath it, each with a short explanation. Tick these three:

Permission Explanation
Browse permission to search for the object and browse its public properties
Read permission to read any parameters of the object
Download permission to download any files of the object

Underneath is an Application block. Choose Allow rather than Deny, and active rather than on hold or revoke temporarily. Then click Apply.

Figure 12. The permissions table and the Application block. Browse, Read and Download, with Allow and active, then Apply.

Nothing is saved until you click Apply. Ticking the boxes on its own has no effect, and the page does not warn you when you leave. It is worth going back to the sharing tab afterwards to confirm that each of us now appears in the list with the permissions you granted.

Telling us you are done

Please let us know, either by replying to the email thread we were introduced on or by sending us a new one, whichever is easier. It helps us if you can include:

  • the name of your HIVE3 folder and its object ID;
  • the table of object IDs from Part 6;
  • your checksums.md5 file;
  • your completed BCO and metadata tables, from the companion guide.

Writing to the team rather than to one of us means whoever is free can pick the submission up, and we can all see where it has got to.

Checklist

A short checklist to run through before letting us know your submission is ready:

Step
☐ A HIVE3 account, activated, with ARGOS group membership requested.
☐ File names follow one scheme, with the sample identifier at the front of each.
☐ Sequence headers checked, with no patient or specimen identifiers left in them.
☐ MD5 checksums recorded for every file.
☐ A folder created for the submission.
☐ All files uploaded into that folder, with the processing options left ticked.
☐ Every file shows a Nucleotide read(s) row with a sensible sequence count.
☐ Object IDs recorded in a table.
☐ Folder shared with the GW ARGOS team.
☐ BCO and metadata tables completed (companion guide).
☐ Reply sent on the submission email thread, with the folder name, the ID table and the checksums.

Where to get help

Every screen in HIVE3 has a help tab, in the icon row and in the preview panel, which loads text for whatever is selected. For anything specific to this submission, please get in touch with the GW ARGOS team.