Skip to main content

eliminates chimeric reads by comparing the UMI sequences and finding any matches in the 5 prime or 3 prime UMIs and keeping the sequence that has the highest prevalence

Project description

Chimera_Buster

Overview

This package takes concensus fasta files from the MrHamer2.0 pipeline and eliminates chimeric reads by comparing the UMI sequences and finding any matches in the 5' or 3' UMIs and keeping the sequence that has the highest prevalence.


Installation

Requires python<=3.10

Quick Install

pip install Chimera_Buster

Manual Install

git clone https://github.com/JessicaA2019/Chimera_Buster.git 
cd Chimera_Buster
python setup.py install

Dependencies

Some dependencies currently do not install with Chimera_Buster. Please pip install the following dependencies:

  • edlib
  • pandas
  • multiprocessing
  • argparse

Usage

Chimera_Buster [options] {input_file_name} {input_prelim_name} {output_file_prefix}

Inputs

To run the pipeline the following input files are required:

Input Description
input_file_name Designates clusters_concesus.fasta file from the clustering_consensus folder to be filtered. This is required.
input_prelim_name Designates clusters_concesus.fasta file from the clustering folder to be filtered. This is required.
output_file_prefix Designates output file prefix. This is required.
The following input files are optional:
Arguement Function
------ ------
-h, --help Prints help message to terminal.
-m int, --mismatch int Designates the maximum number of mismatched/indel bases allowed when comparing UMIs. Default is 1.
-c True/False, --check_clusters True/False When set to true, chimeric reads are rechecked to account for any clustering issues earlier in the pipeline. WARNING: this part of the code is slow and is only recommended for low input samples. Default is False.

Outputs

The main output files created by the pipeline are:

Output Description
{output_file_prefix}_chimera_list.txt A list of all chimeric sample IDs.
{output_file_prefix}_nonchimera_list.txt A list of all nonchimeric sample IDs.
{output_file_prefix}_chimeras.csv A csv of the sample ID, UMI sequences, and cluster counts for each chimeric read.
{output_file_prefix}_non_chimeras.csv A csv of the sample ID, UMI sequences, and cluster counts for each nonchimeric read.

Help

For issues or bugs, please report them on the issues page.

License

MIT - Copyright (c) 2024 Jessica Lauren Albert

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chimera_buster-1.2.1.tar.gz (9.0 kB view hashes)

Uploaded Source

Built Distribution

Chimera_Buster-1.2.1-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page