recipe hgt-site

Find where foreign DNA has inserted into a host genome, testing each candidate site against chance chimeras.

Homepage:

iraajgangavaram/hgt-site

Documentation:

https://iraajgangavaram.github.io/hgt-site/

License:

MIT / MIT

Recipe:

/hgt-site/meta.yaml

Links:

doi: 10.5281/zenodo.23842712, biotools: hgt-site

hgt-site calls candidate horizontal gene transfer and integration sites from paired-end reads aligned to a host genome, together with per-read taxonomic classifications of the reads that did not align. Most foreign reads in a host sample come from contamination or from chimeric fragments formed during library preparation, so each candidate position is tested against the number of pairs chance alone would place there, given how common that taxon is across the sample. Reads that cross the junction give the insertion point to the base pair. Nanopore and PacBio reads are read as well, where a read crossing an integration is clipped at the junction and the clip boundary gives the position directly.

Kraken2, KrakenUniq, Kaiju, Centrifuge, DIAMOND and BLAST tabular output are all read directly, as is any two-column file of read name and taxid. Output is a table of every candidate site with the reason each one failed, plus optional BED, VCF and MultiQC files, and with a GTF or GFF3 annotation each site is reported with the gene it falls in. "hgt-site cohort" merges the tables of several samples and flags the positions that recur, which are usually artefacts. "hgt-site selftest" checks an installation against data with known answers.

A vector or transgene can be found from its sequence alone with "--donor", which needs no classifier and no database, and "--control" takes the table from a matched normal so that a position found in both a tumour and its normal is flagged rather than reported.

package hgt-site#

(downloads) docker_hgt-site

Versions:

0.5.0-0,  0.4.0-0,  0.3.0-0

Depends:
  • on pysam >=0.21

  • on python >=3.10

Additional platforms:

Installation#

You need a conda-compatible package manager (currently either pixi, conda, or micromamba) and the Bioconda channel already activated (see Usage). Below, we show how to install with either pixi or conda (for micromamba and mamba, commands are essentially the same as with conda).

Pixi#

With pixi installed and the Bioconda channel set up (see Usage), to install globally, run:

pixi global install hgt-site

to add into an existing workspace instead, run:

pixi add hgt-site

In the latter case, make sure to first add bioconda and conda-forge to the channels considered by the workspace:

pixi workspace channel add conda-forge
pixi workspace channel add bioconda

Conda#

With conda installed and the Bioconda channel set up (see Usage), to install into an existing and activated environment, run:

conda install hgt-site

Alternatively, to install into a new environment, run:

conda create -n envname hgt-site

with envname being the name of the desired environment.

Container#

Alternatively, every Bioconda package is available as a container image for usage with your preferred container runtime. For e.g. docker, run:

docker pull quay.io/biocontainers/hgt-site:<tag>

(see hgt-site/tags for valid values for <tag>).

Integrated deployment#

Finally, note that many scientific workflow management systems directly integrate both conda and container based software deployment. Thus, workflow steps can be often directly annotated to use the package, leading to automatic deployment by the respective workflow management system, thereby improving reproducibility and transparency. Check the documentation of your workflow management system to find out about the integration.

Download stats

.. Create all the necessary plots for each package by loading all the correct specs and data. Important points on the place and implementation of this script block: 1. It is here, and not in a separate HTML file, as it needs to have the `package.name` rendered in for each package. 2. All packages are handled in one `window.onload` function, as multiple instances of this throughout a (rendered) HTML just overwrite each other.