annotate README.md @ 4:eaf51f9aff10 draft

planemo upload for repository https://github.com/COMBAT-TB/confil commit 9e5284a2616de5d869319f9c4436716a3f6656f8-dirty
author sanbi-uwc
date Mon, 04 Mar 2019 03:28:57 -0500
parents 53a61865e86e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
1 # confil
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
2
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
3 [![Build Status](https://travis-ci.org/COMBAT-TB/confil.svg?branch=master)](https://travis-ci.org/COMBAT-TB/confil)
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
4 [![Anaconda-Server Badge](https://anaconda.org/thoba/confil/badges/version.svg)](https://anaconda.org/thoba/confil)
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
5
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
6 :no_entry_sign: :construction: **For in-house use**
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
7
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
8 `confil` parses a [kraken2](https://ccb.jhu.edu/software/kraken2/) report and determines contamination based on a specified cutoff.
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
9
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
10 ## Requirements
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
11
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
12 - kraken2
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
13
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
14 ## Up and running
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
15
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
16 ```sh
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
17 $ git clone https://github.com/COMBAT-TB/confil.git
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
18 ...
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
19 $ cd confil
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
20 $ virtualenv envname
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
21 $ source envname/bin/activate
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
22 $ pip install -r requirements.txt
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
23 $ python setup.py install
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
24 $ confil --help
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
25 $ confil --threads 1 --paired --cutoff 80 fastq_1.fastq fastq_2.fastq
53a61865e86e planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff changeset
26 ```