annotate README.md @ 6:7a62fe8e3e5e draft

planemo upload commit c50df40caef2fb97c178d6890961e0e527992324-dirty
author cstrittmatter
date Mon, 27 Apr 2020 12:36:27 -0400
parents d0350fe29fdf
children e6437d423693
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
1 [![DOI](https://zenodo.org/badge/97020646.svg)](https://zenodo.org/badge/latestdoi/97020646)
0
fc22ec8e924e planemo upload commit 6b0a9d0f0ef4bdb0c2e2c54070b510ff28125f7a
cstrittmatter
parents:
diff changeset
2
2
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
3 # SalmID
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
4 Rapid tool to check taxonomic ID of single isolate samples. Currently only IDs Salmonella species and subspecies, and some common contaminants (Listeria, Escherichia).
0
fc22ec8e924e planemo upload commit 6b0a9d0f0ef4bdb0c2e2c54070b510ff28125f7a
cstrittmatter
parents:
diff changeset
5
2
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
6 ## Requirements:
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
7 Python 3
0
fc22ec8e924e planemo upload commit 6b0a9d0f0ef4bdb0c2e2c54070b510ff28125f7a
cstrittmatter
parents:
diff changeset
8
2
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
9 ## Installation:
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
10 The easy way with homebrew ([Linux](http://linuxbrew.sh/) or [MacOS](https://brew.sh/)):
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
11 ```
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
12 brew install brewsci/bio/salmid
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
13 ```
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
14 Big thanks to [Torsten Seemann](https://tseemann.github.io/) for including this in homebrew!
0
fc22ec8e924e planemo upload commit 6b0a9d0f0ef4bdb0c2e2c54070b510ff28125f7a
cstrittmatter
parents:
diff changeset
15
2
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
16 Alternatively download from GitHub:
0
fc22ec8e924e planemo upload commit 6b0a9d0f0ef4bdb0c2e2c54070b510ff28125f7a
cstrittmatter
parents:
diff changeset
17
2
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
18 ```bash
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
19 git clone https://github.com/hcdenbakker/SalmID.git
0
fc22ec8e924e planemo upload commit 6b0a9d0f0ef4bdb0c2e2c54070b510ff28125f7a
cstrittmatter
parents:
diff changeset
20 ```
fc22ec8e924e planemo upload commit 6b0a9d0f0ef4bdb0c2e2c54070b510ff28125f7a
cstrittmatter
parents:
diff changeset
21
2
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
22 build a wheel using [poetry](https://poetry.eustace.io/):
0
fc22ec8e924e planemo upload commit 6b0a9d0f0ef4bdb0c2e2c54070b510ff28125f7a
cstrittmatter
parents:
diff changeset
23
2
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
24 ```bash
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
25 cd SalmID
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
26 poetry build
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
27 ```
0
fc22ec8e924e planemo upload commit 6b0a9d0f0ef4bdb0c2e2c54070b510ff28125f7a
cstrittmatter
parents:
diff changeset
28
2
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
29 and install using `pip`
0
fc22ec8e924e planemo upload commit 6b0a9d0f0ef4bdb0c2e2c54070b510ff28125f7a
cstrittmatter
parents:
diff changeset
30
2
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
31 ```bash
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
32 pip install dist/salmid*.whl
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
33 ```
0
fc22ec8e924e planemo upload commit 6b0a9d0f0ef4bdb0c2e2c54070b510ff28125f7a
cstrittmatter
parents:
diff changeset
34
2
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
35 To execute:
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
36 ```
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
37 SalmID.py -e .fastq.gz
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
38 ```
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
39 This will perform a SalmID run on all fastq.gz files in the current directory.
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
40 ```
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
41 SalmID.py -i your_fastq_gz.fastq.gz
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
42 ```
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
43 This will perform a SalmID run on an individual file (i.e., your_fastq_gz.fastq.gz)
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
44 ```
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
45 SalmID.py -d directory_with_data -e _1.fastq.gz
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
46 ```
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
47 This will perform a SalmID run on all files in directory 'directory_with_data' with extension '_1.fastq.gz'
0
fc22ec8e924e planemo upload commit 6b0a9d0f0ef4bdb0c2e2c54070b510ff28125f7a
cstrittmatter
parents:
diff changeset
48
2
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
49 ## Todo's and thoughts for future releases:
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
50 - Provide coverage estimates for genomes in sample based on kmer frequencies
d0350fe29fdf planemo upload commit c50df40caef2fb97c178d6890961e0e527992324
cstrittmatter
parents: 0
diff changeset
51 - Write code to use SalmID on long read (minion, pacbio) platforms