Skip to content

Partial reimplementation of demix_check by @harry-thorpe without the python or R dependencies.

License

Notifications You must be signed in to change notification settings

tmaklin/coreutils_demix_check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-demix_check

Reimplementation of demix_check using GNU coreutils. This repository provides scripts to perform the steps to set up the demix_check reference and check reads binned with mGEMS without requiring the python or R dependencies in the original.

Dependencies

Version numbers are for versions that have been tested. Older or newer versions should also work.

Installation

If the dependencies are not installed on your system, run the supplied install.sh script to install them from source (requires a C/C++ compiler). After running the script, you will need to export the paths to these tools by running the following command in the directory where simple-demix_check is installed before running the scripts:

export PATH=$PATH:$(pwd)

Usage

Set up a set of reference sequences

nthreads=4
memmegas=1024M
tmpdir=tmp

setup_reference.sh --ref_info ref_info.tsv --threads $nthreads --tmpdir $tmpdir --bufsize $memmegas

Check reads from mGEMS

cluster_name=lineage-0
abundances=cluster_abundances.txt nthreads=4 memmegas=1024M
tmpdir=tmp ref_dir=setup_reference_output forward=reads_1.fastq.gz
reverse=reads_2.fastq.gz

check_reads.sh --cluster $cluster_name --abundances $abundances --threads $nthreads --tmpdir $tmpdir --bufsize $memmegas --reference $ref_dir --fwd $forward --rev $reverse

License

simple-demix_check is licensed under the BSD-3-Clause license. A copy of the license is supplied with the project, or can alternatively be obtained from https://opensource.org/licenses/BSD-3-Clause.

About

Partial reimplementation of demix_check by @harry-thorpe without the python or R dependencies.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages