Skip to content

python script to filter TSO artifact reads from aligned bam files

License

Notifications You must be signed in to change notification settings

cziegenhain/pyTSOfilter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

pyTSOfilter

python script to filter TSO artifact reads from aligned bam files Current version: v.0.1.2

Important note: Only zUMIs-processed bam files are compatible. Assignment of UMI-reads to genes must be performed in stranded mode during zUMIs processing.

Requirements

  • pysam
  • regex

Usage

usage: pyTSOfilter.py [-h] --bam FILENAME --out FILENAME --fa FILENAME [--p P]
                      [--n_mismatch N_MISMATCH] [--ggg]

optional arguments:
  -h, --help            show this help message and exit
  --bam FILENAME        Path to input BAM file
  --out FILENAME        Path to output bam file
  --fa FILENAME         Path to genome reference fasta
  --p P                 Number of processes to use
  --n_mismatch N_MISMATCH
                        Number of mismatches allowed when matching TSO
  --ggg                 Require template-switching Gs as part of sequence match

About

python script to filter TSO artifact reads from aligned bam files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages