:orphan: .. only available via index, not via toctree :nosearch: .. title:: Package Recipe 'hgt-site' .. highlight: bash hgt-site ======== .. conda:recipe:: hgt-site :replaces_section_title: :noindex: Find where foreign DNA has inserted into a host genome\, testing each candidate site against chance chimeras. :homepage: https://github.com/iraajgangavaram/hgt-site :documentation: https://iraajgangavaram.github.io/hgt-site/ :license: MIT / MIT :recipe: /`hgt-site `_/`meta.yaml `_ :links: doi: :doi:`10.5281/zenodo.23842712`, biotools: :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. .. conda:package:: hgt-site |downloads_hgt-site| |docker_hgt-site| :versions: ``0.5.0-0``,  ``0.4.0-0``,  ``0.3.0-0`` :depends on pysam: ``>=0.21`` :depends 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 :ref:`bioconda_setup`). 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 :ref:`bioconda_setup`), 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 :ref:`bioconda_setup`), 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: (see `hgt-site/tags`_ for valid values for ````). 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. .. _conda: https://conda.io .. _pixi: https://pixi.sh .. |downloads_hgt-site| image:: https://img.shields.io/conda/dn/bioconda/hgt-site.svg?style=flat :target: https://anaconda.org/bioconda/hgt-site :alt: (downloads) .. |docker_hgt-site| image:: https://quay.io/repository/biocontainers/hgt-site/status :target: https://quay.io/repository/biocontainers/hgt-site .. _`hgt-site/tags`: https://quay.io/repository/biocontainers/hgt-site?tab=tags .. raw:: html .. rubric:: Download stats .. raw:: html
.. 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. Link to this page ----------------- Render an |install-with-bioconda| badge with the following MarkDown:: [![install with bioconda](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg?style=flat)](http://bioconda.github.io/recipes/hgt-site/README.html) .. |install-with-bioconda| image:: https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg?style=flat :target: http://bioconda.github.io/recipes/hgt-site/README.html