# Access to each training example's original index in the input Anndata object

**URL:** <https://discourse.scverse.org/t/access-to-each-training-examples-original-index-in-the-input-anndata-object/2153>\
**Category:** scvi-tools\
**Tags:** scrna-seq, integration, scvi, developer\
**Created:** [March 12, 2024, 4:18pm UTC](https://discourse.scverse.org/t/access-to-each-training-examples-original-index-in-the-input-anndata-object/2153 "2024-03-12T16:18:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![g12bftd](https://avatars.discourse-cdn.com/v4/letter/g/bcef8e/32.png) [@g12bftd](https://discourse.scverse.org/u/g12bftd)\
**Post date:** [March 12, 2024, 4:18pm UTC](https://discourse.scverse.org/t/access-to-each-training-examples-original-index-in-the-input-anndata-object/2153/1 "2024-03-12T16:18:01Z")

</div>

I am training scvi with augmentations. For one of my augmentations, I need access to each cell’s original index in the full input adata object. What is the best way to go about this?
