Quick Start¶
Annotate an Assembled Genome¶
This is the fastest way to use PIPA — upload an assembled genome and run annotation tools.
Via Web UI¶
- Open
http://localhost:8080 - Click Start to go to the Software page
- Select Annotation Only workflow
- Upload your FASTA file (
.fasta,.fa, or.fna) - Select annotation tools (Prokka, MLST, Barrnap, Abricate are on by default)
- Set the genus and species of your organism
- Click Submit
- Monitor progress on the Results page
Via API¶
# Upload a FASTA file
curl -X POST http://localhost:5000/api/upload \
-F "illumina=@my_assembly.fasta"
# Start annotation (replace JOB_ID with the returned job_id)
curl -X POST http://localhost:5000/api/run \
-H "Content-Type: application/json" \
-d '{
"job_id": "JOB_ID",
"genus": "Escherichia",
"species": "coli",
"input_type": "assembly",
"tools": ["prokka", "mlst", "barrnap", "abricate"]
}'
# Check status
curl http://localhost:5000/api/status/JOB_ID
# Get results when complete
curl http://localhost:5000/api/results/JOB_ID
Run the Full Pipeline¶
For raw sequencing reads (FASTQ), PIPA runs trimming, assembly, then annotation.
Via Web UI¶
- Select Full Pipeline (Raw Reads) workflow
- Check Illumina, Nanopore, or PacBio
- Upload your FASTQ files (paired-end or single-end)
- Set genome size (for Nanopore/PacBio assembly)
- Click Submit
Via API¶
# Upload paired-end Illumina reads
curl -X POST http://localhost:5000/api/upload \
-F "illumina=@reads_R1.fastq.gz" \
-F "illumina=@reads_R2.fastq.gz" \
-F "illumina_type=paired"
# Start full pipeline
curl -X POST http://localhost:5000/api/run \
-H "Content-Type: application/json" \
-d '{
"job_id": "JOB_ID",
"genus": "Klebsiella",
"species": "pneumoniae",
"input_type": "reads",
"genome_size": "5.5m"
}'
Example with Test Data¶
bash examples/run_example.sh