a tool for annotation of variable (V), diversity (D), and joining (J) immunoglobulin genes in genomes.
-
Anaconda package manager 4.8.4 or higher. To install Bioconda, see the setup guide.
-
Minimap2. To install Minimap2, see the setup guide.
-
We have benchmarked IGDetective on Linux systems.
IGDetective takes a genome in FASTA format as an input and operates in three stages:
- Finding contigs containing IG gene matches. This step is performed using minimap2 and usually takes several minutes.
- Detecting candidate RSSs based on similarity to RSSs of known reference species.
- Detects candidates of IG genes flanking candidate RSSs.
To run IGDetective, type:
python run_iterative_igdetective.py genome.fasta output_dir
Please note that IGDetective overwrites the output directory, so make sure that it does not contain important files.
The predicted V(D,J) genes are listed in a comma seperated file, genes_V(D,J).tsv
in the output directory.
The headers are explained below. Note that all indexing is done with respect the the forward strand inputted by the user :
For V and J genes
contig
: Name of the input fasta contig in which the gene is detectedreference strand
: Direction of input contig.+
indicates standard,-
indicates reverse complementheptamer index
: starting index of the RSS heptamernonamer index
: starting index of the RSS nonamerheptamer
: RSS heptamer sequencenonamer
: RSS nonamer sequencebest aligned human gene
: The human gene with which the predicted gene best aligns with, measured as percent identity. The human V(J) genes are listed indatafiles/human_V(human_J).fasta
.alignment direction
: Direction of the above mentioned alignmentalgnment PI
: Percent identity of the above mentioned alignmentlongest common k-mer
: Longest common substring shared by both the best aligned human gene and the predicted genestart of gene
: Starting index of geneend of gene
: Ending index of genegene sequence
: Nucleotide sequence of predicted gene
For D genes
contig
: Name of the input fasta contig in which the gene is detectedreference strand
: Direction of input contig.+
indicates standard,-
indicates reverse complementleft(right) heptamer index
: starting index of the RSS left(right) heptamerleft(right) nonamer index
: starting index of the RSS left(right) nonamerleft(right) heptamer
: RSS left(right) heptamer sequenceleft(right) nonamer
: RSS left(right) nonamer sequencestart of gene
: Starting index of geneend of gene
: Ending index of genegene sequence
: Nucleotide sequence of predicted gene
IGDetective is still in its nascent stages with room for improvement. Please report any bugs to GitHub.
We also welcome your comments and suggestions on IGDetective. Please feel free to send it to Vikram Sirupurapu ([email protected]) and/or Yana Safonova ([email protected]).