Skip to content

a tool for annotation of immunoglobulin genes in genome assemblies

License

Notifications You must be signed in to change notification settings

vkkodali/IgDetective

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IgDetective

a tool for annotation of variable (V), diversity (D), and joining (J) immunoglobulin genes in genomes.

System Requirements

  • 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.

Usage

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.

Output format

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

  1. contig : Name of the input fasta contig in which the gene is detected
  2. reference strand : Direction of input contig. + indicates standard, - indicates reverse complement
  3. heptamer index : starting index of the RSS heptamer
  4. nonamer index : starting index of the RSS nonamer
  5. heptamer : RSS heptamer sequence
  6. nonamer : RSS nonamer sequence
  7. best 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 in datafiles/human_V(human_J).fasta.
  8. alignment direction : Direction of the above mentioned alignment
  9. algnment PI : Percent identity of the above mentioned alignment
  10. longest common k-mer : Longest common substring shared by both the best aligned human gene and the predicted gene
  11. start of gene : Starting index of gene
  12. end of gene : Ending index of gene
  13. gene sequence : Nucleotide sequence of predicted gene

For D genes

  1. contig : Name of the input fasta contig in which the gene is detected
  2. reference strand : Direction of input contig. + indicates standard, - indicates reverse complement
  3. left(right) heptamer index : starting index of the RSS left(right) heptamer
  4. left(right) nonamer index : starting index of the RSS left(right) nonamer
  5. left(right) heptamer : RSS left(right) heptamer sequence
  6. left(right) nonamer : RSS left(right) nonamer sequence
  7. start of gene : Starting index of gene
  8. end of gene : Ending index of gene
  9. gene sequence : Nucleotide sequence of predicted gene

Development

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]).

About

a tool for annotation of immunoglobulin genes in genome assemblies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%