Skip to content

ajnetzley/IchorCurate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IchorCurate

IchorCurate is a solution curation application to supplement ichorCNA, a tool for estimating the fraction of tumor in cell-free DNA from ultra-low-pass whole genome sequencing (ULP-WGS, 0.1x coverage).

As a Streamlit powered app, IchorCurate allows users to seamlessly monitor, collaborate, and execute ichorCNA optimal solution selection.

Usage

After running ichorCNA and generating the potential solution outputs, use the following steps to run this application locally. In future versions, we plan to deploy this app on a server, but currently this app must be run through cloning the repository.

Step 1) Application Setup: Cloning the Repository and Creating your Environment

To start, clone this repository, and use the "requirements.txt" to create a virtual environment to run the application in.

Step 2) Running the App

After navigating to the directory where you cloned the repo and activating the enviroment, execute the following command to start the app.

streamlit run app.py

Step 3) Logging in and Folder Selection

Upon opening the app, you are directed to the Login page, where you enter a name. Next, you are directed to the Folder Selection page, where you are prompted to enter the path to the location of the ichorCNA output data. This should be a folder containing a subfolder for each of the samples that was run through ichorCNA. Then, optionally, you can input a path for where the output curated solutions will be written to. If you don't enter a path, a folder at your working directory named "/curated_solutions/" will be created and used.

Step 4) Curation, Navigation, and Exporting

Next, you are directed to the Tracker Dashboard page, which contains a summary dashboard overview of all of your present samples and their curation status. Here, users can chose to begin curation by selecting a sample, or directly export the "default" solution without curating. After selecting a sample to curate, you are directed to the Curation page, where you can begin visualizing the CNA plots. Specifically, you can toggle between all potential solutions, zoom in on any chromosome, and select a temporary selected solution for comparison. After confirming your selection, you can officially "Set as Curated Solution" to complete the curation, which sends you back to the Tracker Dashboard. After curating, you can select the "export" button to export the curated solution to the output folder.

Repository Structure

├── pages/                                         # Folder containing the python scripts for each page of the app
│   ├── curation.py                                     # Python script for curation, namely visualizing and selecting optimal solutions for a sample
│   ├── folder_selection.py                             # Python script for the page allowing users to enter the input and output filepaths
│   ├── login.py                                        # Python script for the login page
│   └── tracker_dashboard.py                            # Python script for tracking the curation status, and providing a dashboard overview and navigation
├── src/                                           # Folder containing the source scripts full supplemental methods
│   └── utils.py                                        # Python script containing a variety of helper functions used throughout the application
├── app.py                                          # The main python wrapper for the app
├── README.md                                       # README for the repo
├── LICENSE                                         # License documentation
├── .gitignore                                      # git ignore for the repo
└── requirements.txt                                # List of dependencies to run the app

Acknowledgments

IchorCurate is developed by Alexander Netzley, on behalf of the Gavin Ha Lab at Fred Hutch Cancer Center

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages