-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from karel-brinda/dev
v0.1.3
- Loading branch information
Showing
11 changed files
with
196 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Attotree | ||
================================================================================== | ||
======== | ||
|
||
|
||
Introduction | ||
|
@@ -54,12 +54,12 @@ Command-line parameters | |
.. code-block:: | ||
$ attotree -h | ||
Program: attotree (rapid estimation of phylogenetic trees using sketching) | ||
Version: 0.1.1 | ||
Version: 0.1.3 | ||
Author: Karel Brinda <[email protected]> | ||
usage: attotree [-k INT] [-s INT] [-t INT] [-o FILE] [-f STR] [-L] genomes [genomes ...] | ||
usage: attotree [-k INT] [-s INT] [-t INT] [-o FILE] [-f STR] [-L] [-D] [-V] genomes [genomes ...] | ||
positional arguments: | ||
genomes input genome file (fasta / gzipped fasta / list of files when "-L") | ||
|
@@ -73,6 +73,8 @@ Command-line parameters | |
-o FILE newick output [stdout] | ||
-f STR tree inference algorithm (nj/upgma) [nj] | ||
-L input files are list of files | ||
-D debugging (don't remove tmp dir) | ||
-V verbose output | ||
|
@@ -98,4 +100,3 @@ Authors | |
------- | ||
|
||
`Karel Brinda <http://brinda.eu>`_ <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
from __commit import * | ||
except ImportError: | ||
pass | ||
VERSION = "0.1.2" | ||
VERSION = "0.1.3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.fa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
.PHONY: all help clean cleanall view | ||
|
||
SHELL=/usr/bin/env bash -eo pipefail | ||
|
||
.SECONDARY: | ||
|
||
.SUFFIXES: | ||
|
||
FASTAS=001334.fa 101058.fa 203692.fa 302649.fa 403790.fa | ||
|
||
############## | ||
## Commands ## | ||
############## | ||
|
||
all: test_spneumo.tar.xz | ||
|
||
test_spneumo.tar.xz: $(FASTAS) | ||
tar -cvf - $? \ | ||
| xz -T1 -9 \ | ||
> $@.tmp | ||
mv $@.tmp $@ | ||
|
||
%.fa: | ||
curl -L "https://github.com/c2-d2/rase-db-spneumoniae-sparc/raw/master/isolates/$*.fa" \ | ||
| seqtk seq \ | ||
> $@.tmp | ||
mv $@.tmp $@ | ||
|
||
|
||
help: ## Print help messages | ||
@echo -e "$$(grep -hE '^\S*(:.*)?##' $(MAKEFILE_LIST) \ | ||
| sed \ | ||
-e 's/:.*##\s*/:/' \ | ||
-e 's/^\(.*\):\(.*\)/ \\x1b[36m\1\\x1b[m:\2/' \ | ||
-e 's/^\([^#]\)/\1/g' \ | ||
-e 's/: /:/g' \ | ||
-e 's/^#\(.*\)#/\\x1b[90m\1\\x1b[m/' \ | ||
| column -c2 -t -s : )" | ||
|
||
clean: ## Clean | ||
rm -fv *.fa | ||
|
||
cleanall: clean ## Clean all | ||
rm -fv *.tar.xz | ||
|
||
view: ## View output |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
file_list.txt | ||
*.fa | ||
*.nw |
Oops, something went wrong.