-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Francesco Beghini
committed
Jul 23, 2020
1 parent
15afe9c
commit bf1cf82
Showing
5 changed files
with
49 additions
and
37 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,10 +1,10 @@ | ||
#!/usr/bin/env python | ||
__author__ = ('Nicola Segata ([email protected]), ' | ||
__author__ = ('Francesco Beghini ([email protected]),' | ||
'Nicola Segata ([email protected]), ' | ||
'Duy Tin Truong, ' | ||
'Francesco Asnicar ([email protected]), ' | ||
'Francesco Beghini ([email protected])') | ||
__version__ = '3.0.1' | ||
__date__ = '25 Jun 2020' | ||
'Francesco Asnicar ([email protected])') | ||
__version__ = '3.0.2' | ||
__date__ = '23 Jul 2020' | ||
|
||
import sys | ||
try: | ||
|
@@ -16,6 +16,7 @@ | |
sys.stderr.write("MetaPhlAn requires Python 3, your current Python version is {}.{}.{}\n" | ||
.format(sys.version_info[0], sys.version_info[1], sys.version_info[2])) | ||
sys.exit(1) | ||
|
||
import os | ||
import stat | ||
import re | ||
|
@@ -26,6 +27,7 @@ | |
from subprocess import DEVNULL | ||
import argparse as ap | ||
import bz2 | ||
import json | ||
import pickle | ||
import subprocess as subp | ||
import tempfile as tf | ||
|
@@ -54,11 +56,6 @@ | |
except ImportError: | ||
sys.stderr.write("Warning! Biom python library not detected!" | ||
"\n Exporting to biom format will not work!\n") | ||
try: | ||
import json | ||
except ImportError: | ||
sys.stderr.write("Warning! json python library not detected!" | ||
"\n Exporting to biom format will not work!\n") | ||
|
||
# get the directory that contains this script | ||
metaphlan_script_install_folder = os.path.dirname(os.path.abspath(__file__)) | ||
|
Submodule hclust2
updated
4 files
+14 −0 | README.md | |
+0 −0 | __init__.py | |
+41 −35 | hclust2.py | |
+20 −0 | setup.py |
Submodule phylophlan
updated
18 files