hcstubbe / pytrim2_old

A python program to trim and demultiplex nanopore reads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pytrim2

pytrim2 searches adapter sequences in nanopore reads, trims the adapter sequences and demultiplexes reads. The program is memory friendly and able to process very large files with economic ram usage.

Install

pip install pytrim2

How to use

pytrim2.demultiplex(input_file, input_file_type, primer_file, primer_file_type, output_folder, max_distance, max_alignments)

Example

pytrim2.demultiplex("test_data/test.fasta", "fasta", "test_data/test_primer.fasta", "fasta", "test_out", 200, 5)

About

A python program to trim and demultiplex nanopore reads

License:Apache License 2.0


Languages

Language:Jupyter Notebook 70.6%Language:Python 26.6%Language:Makefile 1.7%Language:Shell 1.0%