IsoAnnot is a new tool for generating functional and structural annotation at isoform level, capable of collecting and integrating information from different databases to categorize and describe each isoform, including functional and structural information for both transcript and protein.
The computational requirements to run IsoAnnot may vary depending on the organism of interest and the size of the transcriptome you want to annotate.
Reference benchmark (Human transcriptome):
- Transcriptome size: 252,205 isoforms
- CPU cores: 8 cores
- Memory: 12 GB RAM
- Disk space: 14 GB
- Execution time: ~20 hours
The number of cores can be modified by editing the --cores parameter in the last line of IsoAnnot/isoannot.sh (default is 8 cores).
IsoAnnot requires the following software to be installed before use:
- Operating System: GNU/Linux (tested and supported)
- Python: Python 3 (managed automatically by conda)
- Conda: For dependency management
- Snakemake: Workflow management system (version 8; IsoAnnot is developed and tested with 8.28)
Conda is required for automatic dependency management. IsoAnnot has been tested under GNU/Linux and is built using conda environments.
Installation steps:
-
Download and install Miniconda or Anaconda following the official instructions:
- Official Conda installation guide: https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html
-
Verify conda installation:
conda --version
After installing conda, you need to install Snakemake. IsoAnnot includes a pre-configured environment file for this purpose.
Option 1: Using the included snakemake.yaml file (Recommended)
cd IsoAnnot
conda env create -f snakemake.yaml
conda activate snakemakeOption 2: Manual installation via conda
Follow the official Snakemake installation guide: https://snakemake.readthedocs.io/en/stable/getting_started/installation.html
conda create -n snakemake -c conda-forge -c bioconda snakemake=8 conda activate snakemake
The workflow uses different programs to generate annotations. While many dependencies are automatically installed by conda, some require manual installation:
- Status: Currently bundled with IsoAnnot
- Action required: None (already included)
InterProScan is used for protein domain and functional annotation.
Installation:
-
Use the provided installation script:
cd IsoAnnot ./InterproScan_install.sh -
Activate SignalP and TMHMM by following the installation script instructions. When prompted, include the
.tarlink you see in the website once you have completed the verification, not the one sent to you.
Configuration:
- Default location:
IsoAnnot/software/interproscan/ - If installed elsewhere, create a symbolic link or modify the
interproscan_pathparameter inconfig/generic/config.yaml
Important: Do not move the IsoAnnot directory after installing InterProScan. If you must relocate it, re-run the InterProScan installation script.
IsoAnnot retrieves post-translational modification information from the PhosphoSitePlus database.
- Status: Necessary files are included in the IsoAnnot package
- Updates: Download manually from https://www.phosphosite.org/staticDownloads if you need updated files
IsoAnnot is distributed as a compressed file containing the proper directory structure.
Installation steps:
-
Extract the package to your desired installation folder:
tar -xzf IsoAnnot.tar.gz cd IsoAnnot -
Ensure all prerequisites are installed (see Installation Prerequisites)
-
Install external software (see External Software)
-
Activate the snakemake conda environment:
conda activate snakemake
You're now ready to run IsoAnnot!
IsoAnnot works by gathering information from multiple sources, merging them, and generating a final GFF3 annotation file.
The basic command structure is:
cd IsoAnnot ./isoannot.sh --database <database_option> --species <species_name> [--config option1=value option2=value ...]
Required parameters:
--database: Database source (ensembl,refseq, ormytranscripts)--species: Species code in lowercase (first letter of genus + species, e.g.,hsapiensfor Homo sapiens)
Optional parameter:
--outputdir: Output directory to store the results. By default, the IsoAnnot install folder (whereisoannot.shis). A relative path is taken from the folder you runisoannot.shin.--scratch: Folder on a local disk where RepeatMasker works. By default, the system's temporary folder. On a cluster, give the local disk of the compute nodes (see note 5).--config: Additional configuration options (required formytranscripts)
Supported databases:
ensembl- Ensembl database reference filesrefseq- RefSeq (NCBI) database reference filesmytranscripts- Your own custom transcript files (e.g., from PacBio sequencing)
Both ensembl and refseq will automatically download all required files. The "mytranscripts" option is designed for custom transcript files.
To generate Homo sapiens reference annotation from Ensembl:
cd IsoAnnot
./isoannot.sh --database ensembl --species hsapiens --outputdir isoannot_resultsOutput location: isoannot_results/data/Hsapiens/human_tappas_ensembl_annotation_file.gff3
To annotate your own transcripts (e.g., from PacBio sequencing):
cd IsoAnnot
./isoannot.sh --database mytranscripts --species stuberosum --outputdir isoannot_results --config fasta_cdna=/path/to/my/fasta/potato.fastaThis example annotates potato (Solanum tuberosum) transcripts from a custom FASTA file.
Not every layer exists for every species. The table shows what the configurations shipped with IsoAnnot produce:
| Layer | Human, mouse | Zebrafish, fruit fly | Arabidopsis |
|---|---|---|---|
| Exons, junctions, NMD, UTR motifs, repeats | Yes | Yes | Yes |
| Protein domains (InterProScan), GO, UniProt features | Yes | Yes | Yes |
| Pathways | Reactome | Reactome | Plant Reactome |
| PTMs from PhosphoSitePlus | Yes | No | No |
| NLS (NucImport) | Yes | No | No |
| miRNA binding sites (miRWalk) | Yes | No | No |
- NLS and miRNA sites need the
nls_modeland miRWalk keys in the species configuration, which only human and mouse have. - PhosphoSitePlus is mostly human, mouse and rat. Other species get the PTMs that UniProt reports.
mytranscriptsis shipped for human only. For another species, see Creating a New Config File.
| Parameter | Description | Required | Values |
|---|---|---|---|
--database |
Database source | Yes | ensembl, refseq, mytranscripts |
--species |
Species identifier | Yes | Lowercase species code (e.g., hsapiens, mmusculus) |
--outputdir |
Output directory | No | Path to directory (IsoAnnot install folder by default). A relative path is taken from the current folder |
--scratch |
Folder RepeatMasker works in | No | Path to a folder on a local disk (the system's temporary folder by default). See note 5 |
--config |
Override config values | Conditional* | key=value pairs |
--configfile |
Custom config file path | No | Path to YAML file |
--snakefile |
Custom snakefile path | No | Path to Snakefile |
--version |
Print the IsoAnnot version and exit. Every run also prints it as its first line | No |
*Required when using --database mytranscripts with custom files
Species code format: Write species codes in lowercase using only the first letter of the genus followed by the full species name. Examples:
- Homo sapiens →
hsapiens - Mus musculus →
mmusculus - Drosophila melanogaster →
dmelanogaster - Solanum tuberosum →
stuberosum
Configuration files control how IsoAnnot processes data for each species and database combination. Snakemake configuration files in IsoAnnot use the YAML file format and are organized on a per-species basis.
Configuration files are organized in a hierarchical directory structure:
IsoAnnot/config/
├── ensembl/
│ ├── hsapiens/
│ │ ├── config.yaml
│ │ └── Snakefile.smk
│ ├── mmusculus/
│ │ ├── config.yaml
│ │ └── Snakefile.smk
│ └── ...
├── refseq/
│ ├── hsapiens/
│ │ ├── config.yaml
│ │ └── Snakefile.smk
│ └── ...
├── mytranscripts/
│ ├── hsapiens/
│ │ ├── config.yaml
│ │ └── Snakefile.smk
│ └── ...
└── generic/
├── config.yaml # Generic settings
├── Snakefile.smk # Main workflow
├── Snakefile_ensembl.smk
├── Snakefile_refseq.smk
└── Snakefile_mytranscripts.smk
Path structure: config/<database>/<species>/config.yaml
Examples:
- Human Ensembl:
config/ensembl/hsapiens/config.yaml - Mouse RefSeq:
config/refseq/mmusculus/config.yaml - Custom human transcripts:
config/mytranscripts/hsapiens/config.yaml
To modify an existing configuration:
-
Navigate to the config file:
cd IsoAnnot/config/<database>/<species>/ nano config.yaml
-
Edit parameters as needed (see Configuration Parameters Explained)
-
Save the file
-
Run IsoAnnot with the updated configuration:
cd IsoAnnot ./isoannot.sh --database <database> --species <species>
Common modifications:
- Update database URLs to newer releases
- Change file paths for custom data
- Adjust species-specific parameters
- Modify the
transcript_versionedflag
The generic configuration file (config/generic/config.yaml) contains global settings used across all species:
interproscan_path: "software/interproscan/interproscan.sh" pfam_clan_url: ftp://ftp.ebi.ac.uk/pub/databases/Pfam/current_release/Pfam-A.clans.tsv.gz pfam_clan_desc_url: https://ftp.ebi.ac.uk/pub/databases/Pfam/current_release/Pfam-C.gz dir_sqanti: "scripts/sqanti3/" nls_chunks: 50 nls_java_memory: 2g nls_cache: True
Key parameters:
interproscan_path: Path to InterProScan executablepfam_clan_url: URL of the Pfam family-to-clan tablepfam_clan_desc_url: URL of Pfam's clan file (Pfam-C), which gives the clan names and descriptions written in the clan lines of the GFF3dir_sqanti: Directory containing SQANTI3 scriptsnls_chunks: Number of chunks the proteins are split into for NucImport. The chunks run in parallel.nls_java_memory: Maximum Java heap of each NucImport run (-Xmx). NucImport needs 2g. Each chunk is a separate Java process, so plan for this amount times the number of cores.nls_cache: Reuse NucImport results from earlier runs (Trueby default). NucImport is the longest step of a run (about 5 days for human Ensembl on 32 cores), and its result depends only on the protein sequence. Each run adds its new results to<outputdir>/data/global/nucimport_cache/, and later runs in the same output folder only predict the sequences that are not there yet: another Ensembl release, the RefSeq proteins, ormytranscriptsORFs identical to a reference protein. The store files can be copied to another output folder'sdata/global/nucimport_cache/to share them. A result is only reused with the samenls_modeland the same NucImport jar. Setnls_cache=Falseto predict every protein.
To enable IsoAnnot for a new species, you need to create configuration files with links to all required data sources.
-
Choose a template: Use an existing species config as a starting point
cd IsoAnnot/config/<database>/ mkdir <new_species> cp hsapiens/config.yaml <new_species>/ cp hsapiens/Snakefile.smk <new_species>/
-
Find required files: Browse the appropriate database FTP site to locate files for your species:
- Ensembl: https://ftp.ensembl.org/pub/ (or https://ftp.ensemblgenomes.org/ for non-vertebrates)
- RefSeq: https://ftp.ncbi.nlm.nih.gov/genomes/refseq/
-
Edit the config file: Update all species-specific parameters (see template below)
-
Verify the configuration: Check that all URLs are valid and accessible
-
Test the configuration: Run IsoAnnot with the new configuration
Here's a complete template for creating a new species configuration. The example below shows the config file format for Homo sapiens (human) using Ensembl, which is located in config/ensembl/hsapiens/config.yaml:
species: Homo sapiens species_name: human biomart_host: e108.ensembl.org biomart_dataset: hsapiens_gene_ensembl ensembl_cdna: ftp://ftp.ensembl.org/pub/release-108/fasta/homo_sapiens/cdna/Homo_sapiens.GRCh38.cdna.all.fa.gz ensembl_proteins: ftp://ftp.ensembl.org/pub/release-108/fasta/homo_sapiens/pep/Homo_sapiens.GRCh38.pep.all.fa.gz ensembl_gtf: ftp://ftp.ensembl.org/pub/release-108/gtf/homo_sapiens/Homo_sapiens.GRCh38.108.chr.gtf.gz ensembl_reference: ftp://ftp.ensembl.org/pub/release-108/fasta/homo_sapiens/dna/Homo_sapiens.GRCh38.dna.primary_assembly.fa.gz prefix: Hsapiens db: ensembl transcript_versioned: False refseq_protein_dir: ftp://ftp.ncbi.nlm.nih.gov/refseq/H_sapiens/mRNA_Prot/ refseq_protein_fasta: ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/vertebrate_mammalian/Homo_sapiens/all_assembly_versions/GCF_000001405.40_GRCh38.p14/GCF_000001405.40_GRCh38.p14_protein.faa.gz refseq_gtf: ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/vertebrate_mammalian/Homo_sapiens/all_assembly_versions/GCF_000001405.40_GRCh38.p14/GCF_000001405.40_GRCh38.p14_genomic.gtf.gz refseq_chr_accessions: ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/vertebrate_mammalian/Homo_sapiens/all_assembly_versions/GCF_000001405.40_GRCh38.p14/GCF_000001405.40_GRCh38.p14_assembly_structure/Primary_Assembly/assembled_chromosomes/chr2acc uniprot_fasta: - ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/reference_proteomes/Eukaryota/UP000005640/UP000005640_9606.fasta.gz - ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/reference_proteomes/Eukaryota/UP000005640/UP000005640_9606_additional.fasta.gz uniprot_dat: - ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/reference_proteomes/Eukaryota/UP000005640/UP000005640_9606.dat.gz - ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/reference_proteomes/Eukaryota/UP000005640/UP000005640_9606_additional.dat.gz reactome: https://reactome.org/download/current/Ensembl2Reactome_All_Levels.txt
For a conventional species having all the required files in both RefSeq and Ensembl databases, the procedure should be as easy as changing human references and links to the other organism. You would need to:
- Modify the prefix, scientific name, common name
- Browse the RefSeq/Ensembl FTP sites to find the correct URLs for each required file
- Update the BioMart dataset identifier
Here's another example for Solanum tuberosum (potato):
species: Solanum tuberosum species_name: potato biomart_host: plants.ensembl.org biomart_dataset: stuberosum_eg_gene ensembl_cdna: ftp://ftp.ensemblgenomes.org/pub/release-45/plants/fasta/solanum_tuberosum/cdna/Solanum_tuberosum.Assembly.cdna.all.fa.gz ensembl_proteins: ftp://ftp.ensemblgenomes.org/pub/release-45/plants/fasta/solanum_tuberosum/pep/Solanum_tuberosum.Assembly.pep.all.fa.gz ensembl_gtf: ftp://ftp.ensemblgenomes.org/pub/release-45/plants/gtf/solanum_tuberosum/Solanum_tuberosum.Assembly.45.gtf.gz ensembl_reference: ftp://ftp.ensemblgenomes.org/pub/release-45/plants/fasta/solanum_tuberosum/dna/Solanum_tuberosum.Assembly.dna.toplevel.fa.gz prefix: Stuberosum db: ensembl transcript_versioned: True refseq_protein_dir: ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/plant/Solanum_tuberosum/latest_assembly_versions/GCF_000226075.1_SolTub_3.0/ refseq_protein_fasta: ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/plant/Solanum_tuberosum/latest_assembly_versions/GCF_000226075.1_SolTub_3.0/GCF_000226075.1_SolTub_3.0_protein.faa.gz refseq_chr_accessions: ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/plant/Solanum_tuberosum/latest_assembly_versions/GCF_000226075.1_SolTub_3.0/GCF_000226075.1_SolTub_3.0_assembly_structure/Primary_Assembly/scaffold_localID2acc refseq_gtf: ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/plant/Solanum_tuberosum/latest_assembly_versions/GCF_000226075.1_SolTub_3.0/GCF_000226075.1_SolTub_3.0_genomic.gtf.gz uniprot_fasta: - ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/reference_proteomes/Eukaryota/UP000011115/UP000011115_4113.fasta.gz - ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/reference_proteomes/Eukaryota/UP000011115/UP000011115_4113_additional.fasta.gz uniprot_dat: - ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/reference_proteomes/Eukaryota/UP000011115/UP000011115_4113.dat.gz - ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/reference_proteomes/Eukaryota/UP000011115/UP000011115_4113_additional.dat.gz reactome: https://plantreactome.gramene.org/download/current/Ensembl2PlantReactome_All_Levels.txt
| Parameter | Description | Example |
|---|---|---|
species |
Full scientific name | Homo sapiens |
species_name |
Common name (lowercase) | human |
biomart_host |
BioMart host of the Ensembl release of your files (see note 6) | e115.ensembl.org |
biomart_dataset |
BioMart dataset identifier | hsapiens_gene_ensembl |
ensembl_cdna |
Ensembl cDNA FASTA file URL | URL to .fa.gz file |
ensembl_proteins |
Ensembl protein FASTA file URL | URL to .fa.gz file |
ensembl_gtf |
Ensembl GTF annotation file URL | URL to .gtf.gz file |
ensembl_reference |
Ensembl reference genome URL | URL to .fa.gz file |
prefix |
Output directory prefix (capitalized) | Hsapiens |
db |
Database type | ensembl, refseq, or mytranscripts |
transcript_versioned |
Whether transcripts have version numbers | True or False |
refseq_protein_dir |
RefSeq protein directory URL | FTP directory URL |
refseq_protein_fasta |
RefSeq protein FASTA URL | URL to .faa.gz file |
refseq_chr_accessions |
RefSeq chromosome accessions file | URL to accession mapping file |
refseq_gtf |
RefSeq GTF annotation file URL | URL to .gtf.gz file |
uniprot_fasta |
UniProt FASTA file URLs (list) | List of URLs |
uniprot_dat |
UniProt DAT file URLs (list) | List of URLs |
reactome |
Reactome pathway mapping file URL | URL or pathway-specific URL; no to skip the layer |
layer_go |
Include Gene Ontology layer | si, yes or true to include; no, false or omit to skip |
ptm_both_sources |
Write a modification reported by both Swiss-Prot and PhosphoSitePlus once for each source | False by default: one row, with Swiss-Prot as the source |
utrscan_noncoding |
Write the UTRscan motifs of transcripts without a CDS, as ncRNAmotif (see note 10) |
True by default; False leaves them out |
repeat_masker |
Include the RepeatMasker layer | True by default; False to leave it out (see note 5) |
repeatmasker_dfam |
Dfam repeat families RepeatMasker searches | curated (default) or all for curated and uncurated (see note 5) |
biomart_table |
BioMart table saved before, read by the GO and Reactome layers instead of downloading it (optional, see note 6) | /abs/path/hsapiens_e115_biomart.tsv |
mirna_regions_to_use |
Regions of each isoform where miRNA binding sites are kept (see note 8); an empty list skips the miRNA layer | ["3UTR", "noncoding"] by default; also 5UTR, CDS |
mirna_mirbase_set |
miRNAs whose sites are kept | high_confidence (default) or all |
mirna_site_types |
Seed match types kept | canonical (default), canonical_6mer or all |
mirna_db_evidence_score_threshold |
Minimum miRWalk binding probability | 0.95 |
Important notes:
-
transcript_versioned: Set toTrueif:- Using RefSeq database
- Using mytranscripts mode
- Annotating plants (EnsemblPlants)
-
ensembl_reference:- Try
*dna.primary_assembly.fa.gzfirst - If not available, use
*dna.toplevel.fa.gz
- Try
-
Finding UniProt proteome IDs:
- Search for your species at https://www.uniprot.org/proteomes
- Look for "reference proteome" entries
- Use the proteome ID in the URLs (e.g.,
UP000005640for human)
-
Reactome URLs:
- Animals:
https://reactome.org/download/current/Ensembl2Reactome_All_Levels.txt - Plants:
https://plantreactome.gramene.org/download/current/Ensembl2PlantReactome_All_Levels.txt
- Animals:
-
RepeatMasker:
- It is on by default. Add
repeat_masker=Falseto--configto leave it out. - IsoAnnot installs RepeatMasker 4.2.6 from its GitHub release and downloads the Dfam 4.0 library, both into
{outputdir}/data/global/. The curated families (the default) are a 90 MB download and take 600 MB on disk.repeatmasker_dfam=alladds the uncurated ones: a 4.2 GB download (about 40 minutes on our cluster) that takes 25 GB on disk. - RepeatMasker writes thousands of small temporary files, which can block a network filesystem (Ceph, NFS, Lustre...) for every user of a cluster. So it works in a folder of its own on a local disk, and only its result is copied to the output folder. The folder is made in the system's temporary folder (
$TMPDIR, or/tmp), or in the folder you give with--scratch, and it is removed when RepeatMasker ends. If that folder is on a network filesystem, the run stops before RepeatMasker starts.⚠️ Warning: on a cluster, give the local disk of the compute nodes, for example--scratch /scr_local/$USER, and never a folder of your home or of the shared storage. - Curated families cover human, mouse and zebrafish well (about 1,400 to 2,000 each) but plants hardly at all: Dfam 4.0 has only 9 curated families for Arabidopsis thaliana, and 503 uncurated ones. For plants use
repeatmasker_dfam=all.
- It is on by default. Add
-
BioMart (
biomart_hostandbiomart_table): the GO and Reactome layers take gene names and GO terms from Ensembl BioMart. IsoAnnot downloads them once per output folder, intodata/<Prefix>/config/biomart/, and both layers read that table.biomart_hosthas to be the BioMart of the Ensembl release of your files, becausewww.ensembl.orgalways serves the newest release. Ensembl has one host per release:e115.ensembl.orgfor release 115, andeg62-plants.ensembl.orgfor Ensembl Plants 62. It can be written with or withouthttps://.- If the release of
biomart_hostis not the release in theensembl_gtfURL, the run goes on and shows a warning. Ensembl does not keep an archive of every old release, above all for plants: in that case useplants.ensembl.orgorwww.ensembl.org, and expect the warning. - To run without internet, or when BioMart is down, save the table once and give it with
biomart_table(absolute path). Nothing is downloaded then:
cd IsoAnnot/scripts ./save_biomart_tables.py --biomart_host e115.ensembl.org \ --biomart_dataset hsapiens_gene_ensembl --output /abs/path/hsapiens_e115_biomart.tsvRun it in the
isoannotpyenvironment. -
RefSeq transcript sequences: in refseq mode, UTRScan, RepeatMasker and the miRNA layer read the RefSeq transcripts spliced from the genome (
ensembl_reference) with the exons ofrefseq_gtf, not NCBI'srna.fna. Somerna.fnasequences differ from the genome (a poly(A) tail, or bases the genome does not have), and their positions did not match the exons of the GFF3. The positions now match, but differences of the RefSeq mRNA from the genome are not annotated. Therefseq_cdnakey is no longer used. -
miRNA binding sites (human and mouse): the sites come from miRWalk 3 predictions and are placed on every isoform whose sequence contains them.
- Seed match type. A miRNA finds its targets mainly through its seed, nucleotides 2–8. IsoAnnot classifies each site from the miRWalk duplex, following TargetScan:
8mer(seed 2–8 paired and an A opposite position 1),7mer-m8(2–8),7mer-A1(2–7 and the A),6mer(2–7),offset-6mer(3–8),seed-GU(seed paired only with G:U wobbles) andnoncanonical. About 63% of the miRWalk sites are non-canonical; such sites bind Argonaute but have little effect on target levels (Agarwal et al. 2015, eLife 4:e05005). By default only8merand7mersites are kept (mirna_site_types: canonical);canonical_6meradds the 6mers andallkeeps every site. For human, the default keeps about 8% of the sites. - miRNAs.
high_confidencekeeps the miRBase high-confidence miRNAs (814 in human),allevery miRBase miRNA with experimental evidence (2,482 in human). - Region. The region is computed for each isoform from its own CDS:
5UTR,CDS(a site that touches the CDS),3UTR, ornoncodingfor isoforms without a CDS. Sites in the CDS and the 5′UTR are much less effective than 3′UTR sites, because ribosomes displace the miRNA complex. One miRWalk file is downloaded for each of3UTR,5UTRandCDSin the list (3′UTR only by default, 6.8 GB for human). Sites on non-coding isoforms come from the downloaded files. - In the GFF3, each site has feature
miRNA_8mer,miRNA_7mer,miRNA_6merormiRNA_noncanonical, so the classes can be selected separately in tappAS, andDesc=<region>_<type>, e.g.ID=hsa-miR-21-5p; Desc=3UTR_7mer-A1.
- Seed match type. A miRNA finds its targets mainly through its seed, nucleotides 2–8. IsoAnnot classifies each site from the miRWalk duplex, following TargetScan:
-
Nonsense-mediated decay (NMD): a coding isoform gets the
NMDfeature when its stop codon is more than 50 nt before the last exon-exon junction (the 50 nt rule, the same limit aspredicted_NMDof SQANTI3), in the three modes. The distance is measured on the spliced transcript. SQANTI3 measures it on the genome, which also counts the introns between the stop codon and the last junction, so an isoform whose stop lies two or more exons before the last one is always a predicted target there. IsoAnnot does not follow it in that case, because the NMD feature is read as biology in tappAS: in human, 141 Ensembl and 99 RefSeq transcripts are not NMD targets on the spliced transcript, the main transcript of NRAS among them (its stop codon is 43 nt before the last junction on the transcript and more than 380 nt on the genome). For a long-read isoform, theNMDfeature can therefore differ from thepredicted_NMDcolumn of its SQANTI3 classification. -
UTR motifs (UTRscan): UTRscan searches the 59 motifs of UTRsite along each whole transcript, and its catalogue (
software/bin/UtrSite.Command) says in which UTR each motif acts. IsoAnnot keeps a motif only there: an upstream ORF, an IRES or a TOP tract in the 5′UTR (uORF,5UTRmotif), a polyadenylation signal or a Musashi element in the 3′UTR (PAS,3UTRmotif), and the few motifs defined for both in either. A short ORF found after the CDS is therefore not reported as an upstream ORF. Transcripts without a CDS have no UTR: their motifs are written asncRNAmotif(PASfor the polyadenylation signal), without the 5′UTR motifs, which act on the translation of a CDS.utrscan_noncoding: Falseleaves them out. The catalogue also gives the group of organisms of each motif, which IsoAnnot does not use yet, so a human annotation still has some motifs described in insects.
IsoAnnot generates its output in a structured directory hierarchy within the directory supplied by the user. In case none is given, it will use the running directory by default. The structure of <output_dir>/data/ folder is as follows:
<output_dir>/data/
└── <Prefix>/ # e.g., Hsapiens/
├── <species_name>_tappas_<db>_annotation_file.gff3 # Main output
├── <species_name>_tappas_<db>_annotation_file.gff3_mod # Modified GFF3
├── config/ # Downloaded config files
│ ├── ensembl/
│ ├── refseq/
│ └── global/
├── output/
│ └── <db>/ # Database-specific outputs
│ ├── layers/ # Annotation layers
│ │ ├── go.gtf
│ │ ├── interpro.gtf
│ │ ├── reactome.gtf
│ │ └── ...
│ ├── transcripts/ # Transcript files
│ ├── proteins/ # Protein sequences
│ └── ...
└── tmp/ # Temporary processing files
Directory naming:
<Prefix>: Capitalized species prefix from config (e.g.,Hsapiens,Mmusculus,Stuberosum)<species_name>: Lowercase common name from config (e.g.,human,mouse,potato)<db>: Database used (e.g.,ensembl,refseq,mytranscripts)
File: <species_name>_tappas_<db>_annotation_file.gff3
This is the main output file containing comprehensive isoform-level annotations.
Example: human_tappas_ensembl_annotation_file.gff3
Location: IsoAnnot/data/<Prefix>/
Content: GFF3-formatted annotation with:
- Gene and transcript structures
- Protein-coding predictions
- Functional annotations from multiple databases
- Structural features
- Post-translational modifications
File: <species_name>_tappas_<db>_annotation_file.gff3_mod
A modified version of the main GFF3 file optimized for downstream analysis tools.
The output GFF3 file integrates information from multiple sources:
Structural information:
- Gene and transcript coordinates
- Exon/intron structure
- CDS (coding sequence) regions
- UTR regions (5' and 3')
Functional annotations (in attributes column):
- Gene Ontology (GO): Biological process, molecular function, cellular component
- InterPro: Protein domains, families, and functional sites
- Pfam: Protein family classifications
- Reactome: Pathway associations
- UniProt: Protein function descriptions
Post-translational modifications:
- Phosphorylation sites
- Other PTMs from PhosphoSitePlus
Protein IDs: the CDS and protein lines of a coding transcript have the same attributes, for example ID=Q9HBE1-4; Desc=ENSP00000215919.
IDis one identifier of the protein sequence of the transcript. IsoAnnot looks for proteins with exactly the same sequence and picks SwissProt first, then TrEMBL, then Ensembl (ensemblmode) or RefSeq (refseqmode). Inmytranscriptsmode, Ensembl comes before RefSeq.Desclists the other identifiers of that sequence, separated by commas. It is left out when there are none.- All transcripts that encode the same protein get the same
IDandDesc, so tappAS treats them as one protein. - When the reference protein is not found in
parsed_databases.json,IDis the reference protein of the transcript (ensemblandrefseqmodes). Inmytranscriptsmode, an ORF with no protein of the same sequence inparsed_databases.jsongetsProtein_<isoform>. - Ensembl and RefSeq IDs found through the sequence are written without their version (
NP_000005), as inparsed_databases.json. The reference protein used when there is no match is written as in the classification file, so inrefseqmode it keeps its version (NP_000005.3). In Ensembl Plants, where protein IDs are transcript IDs, an ID without version looks like the gene ID (AT1G01020).
The lines of each transcript start with its transcript line, followed by the transcript, genomic and protein features, as in the legacy tappAS files. tappAS needs the transcript line first in each block.
Example lines of a .gff3_mod file, for one transcript of the small test dataset (some exon and junction lines left out). The columns are tab-separated: seqid, source, feature, start, end, score, strand, phase and attributes. The .gff3 file has the same lines without PosType.
ENST00000000001 tappAS transcript 1 750 . + . ID=ENST00000000001; primary_class=protein_coding; PosType=T
ENST00000000001 tappAS gene 1 750 . + . ID=SYNA; Name=SYNA; PosType=T
ENST00000000001 tappAS CDS 101 550 . + . ID=P0SYA1; Desc=ENSP00000000001; PosType=T
ENST00000000001 tappAS genomic 1 1 . + . Chr=chr1; PosType=G
ENST00000000001 tappAS exon 1001 1200 . + . Chr=chr1; PosType=G
ENST00000000001 tappAS splice_junction 1201 2000 . + . ID=known_canonical; Chr=chr1; PosType=G
ENST00000000001 tappAS protein 1 150 . + . ID=P0SYA1; Desc=ENSP00000000001; PosType=P
ENST00000000001 GeneOntology C . . . . . ID=GO:0005737; Name=cytoplasm; PosType=N
Using the output:
- Import into genome browsers (IGV, UCSC Genome Browser)
- Use with tappAS for isoform-level functional analysis
- Parse programmatically for custom analyses
- Filter by specific annotation types
IsoAnnot uses Snakemake for workflow management. Here are common Snakemake operations:
If you delete or edit files in IsoAnnot/data/, Snakemake may lock the directory. To unlock:
-
Edit
IsoAnnot/isoannot.shand add--unlockto the last line:exec snakemake ... --unlock -
Run the pipeline:
./isoannot.sh --database <db> --species <species>
-
Remove
--unlockfromisoannot.sh -
Run the pipeline normally
If execution stops, IsoAnnot will automatically resume from the last completed step on the next run. Completed steps are not re-executed.
To see which steps will be executed without running them:
-
Edit the last line of
IsoAnnot/isoannot.shand add-n:exec snakemake ... -n -
Run the pipeline
-
Remove
-nto execute normally
To force IsoAnnot to re-execute all steps:
-
Edit the last line of
IsoAnnot/isoannot.shand add-F:exec snakemake ... -F -
Run the pipeline
-
Remove
-Ffor subsequent runs
To change the number of CPU cores used:
- Edit the last line of
IsoAnnot/isoannot.sh - Modify the
--coresparameter (default is 8):exec snakemake ... --cores 16 # Use 16 cores
Add these to the last line of isoannot.sh after the existing parameters:
| Option | Description |
|---|---|
-n or --dry-run |
Show what would be done without executing |
-F or --force |
Force re-execution of all steps |
--unlock |
Unlock the working directory |
--cores N |
Use N CPU cores |
-p |
Print shell commands (already included) |
--rerun-incomplete |
Re-run incomplete jobs (already included) |
Problem: "The snakefile or configfile requested do not exist"
- Solution: Ensure config files exist for your species at
config/<database>/<species>/
Problem: InterProScan not found
- Solution: Run
./InterproScan_install.shor verifyinterproscan_pathinconfig/generic/config.yaml
Problem: Out of memory errors
- Solution: Increase available RAM or reduce the number of cores used
Problem: Download errors for database files
- Solution: Check internet connection and verify URLs in config file are current
Problem: Snakemake directory locked
- Solution: Use
--unlockoption (see Unlocking the Working Directory)
If you use IsoAnnot in your research, please cite:
[Citation information to be added]
For issues, questions, or contributions:
- GitHub Issues: https://github.com/ConesaLab/IsoAnnot/issues
- Documentation: This README
[License information to be added]