# Functional and Taxonomic Profiling of MAGs

## Apps

* [Meta-Decoder Call Variants](https://narrative.kbase.us/#catalog/modules/kb_meta_decoder): Identify polymorphisms within microbiome read sequences against reference genomes.&#x20;
  * [Map Reads to Reference Sequence](https://narrative.kbase.us/#catalog/apps/kb_meta_decoder/map_reads_to_reference/beta): Map reads to a reference genome.
  * [Call Microbial SNPs](https://narrative.kbase.us/#catalog/apps/kb_meta_decoder/call_snps/beta): identify single nucleotide polymorphism (SNP) variants based on mapped reads.&#x20;
* [StrainFinder v1](https://narrative.kbase.us/#catalog/apps/kb_StrainFinder/run_StrainFinder_v1/beta): Determine strain genome sequences from sub-populations of allele frequency.&#x20;
  * [strainFinder Repository](https://bitbucket.org/yonatanf/strainfinder/src/master/)
* [FamaProfiling](https://github.com/aekazakov/FamaProfiling): Generate a functional profile of nitrogen cycle genes or universal single-copy markers for metagenomic read libraries and assembled genomes.
  * [Fama Read Profiling](https://kbase.us/applist/apps/FamaProfiling/run_FamaReadProfiling/release)&#x20;
  * [Fama Genome Profiling](https://kbase.us/applist/apps/FamaProfiling/run_FamaGenomeProfiling/release)&#x20;

## Inputs

These apps take metagenome-assembled genomes (MAGs) as [Genome](https://docs.kbase.us/data/upload-download-guide/genome) objects input. See [Metagenomic and Community Analysis](https://docs.kbase.us/workflows/metagenomic-analysis) for an overview of metagenomic workflows.

## Narratives

* [Groundwater MAGs from Tian et al., 2020](https://narrative.kbase.us/narrative/90581) – provides an example of the workflow using MAGs
  * Tian et al. (2020) *Small and mighty: adaptation of superphylum Patescibacteria to groundwater environment drives their genome simplicity*. Microbiome 8:51. <https://doi.org/10.1186/s40168-020-00825-w>
  * Narrative created and made public by Alexey Kazakov, Lawrence Berkeley National Laboratory
* [Metagenome-Assembled Genome Extraction from a Compost Microbiome Enrichment](https://narrative.kbase.us/narrative/33233) – guidance for creating MAGs.

## Tutorial webinar

{% embed url="<https://www.youtube.com/watch?v=Poa4cW3hXU8>" %}
Tutorial webinar presented by by John-Marc Chandonia (Lawrence Berkeley National Laboratory), Alexey Kazakov (Lawrence Berkeley National Laboratory), and Anni Zhang (Massachusetts Institute of Technology)
{% endembed %}

## SFA Collaboration Page

These apps were developed as part of the Ecosystems and Networks Integrated with Genes and Molecular Assemblies (ENIGMA) Science Focus Area (SFA). To learn more about this collaboration, see: <https://www.kbase.us/research/adams-sfa/>.
