Also ran make test
after make dev
and it fails:
$ make test
py.test
==================================== test session starts ====================================
platform linux -- Python 3.8.15, pytest-8.0.0, pluggy-1.4.0
rootdir: /gxfs_work/geomar/smomw445/soft/q2-quality-control
plugins: typeguard-2.13.3, anyio-4.2.0
collected 94 items
q2_quality_control/tests/test_decontam.py .......... [ 10%]
q2_quality_control/tests/test_filter.py .FFFF [ 15%]
q2_quality_control/tests/test_quality_control.py .................................... [ 54%]
...................................... [ 94%]
q2_quality_control/tests/test_stats.py ..... [100%]
========================================= FAILURES ==========================================
_____________________ TestFilterSingle.test_filter_single_exclude_seqs ______________________
self = <q2_quality_control.tests.test_filter.TestFilterSingle testMethod=test_filter_single_exclude_seqs>
def test_filter_single_exclude_seqs(self):
> obs_art, = self.plugin.methods['filter_reads'](
self.demuxed_art, self.indexed_genome, exclude_seqs=True)
q2_quality_control/tests/test_filter.py:47:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
<decorator-gen-46>:2: in filter_reads
???
../../.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/site-packages/qiime2/sdk/action.py:342: in bound_callable
outputs = self._callable_executor_(
../../.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/site-packages/qiime2/sdk/action.py:566: in _callable_executor_
output_views = self._callable(**view_args)
q2_quality_control/_filter.py:77: in filter_reads
_bowtie2_filter(fwd, rev, filtered_seqs, database, n_threads, mode,
q2_quality_control/_filter.py:106: in _bowtie2_filter
_run_command(bowtie_cmd)
q2_quality_control/_utilities.py:39: in _run_command
subprocess.run(cmd, check=True, stdout=stdout, stdin=stdin, cwd=cwd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
input = None, capture_output = False, timeout = None, check = True
popenargs = (['bowtie2', '-p', '1', '--sensitive-local', '--rfg', '5,3', ...],)
kwargs = {'cwd': None, 'stdin': None, 'stdout': None}
process = <subprocess.Popen object at 0x15526d14b490>, stdout = None, stderr = None
retcode = 127
def run(*popenargs,
input=None, capture_output=False, timeout=None, check=False, **kwargs):
"""Run command with arguments and return a CompletedProcess instance.
The returned instance will have attributes args, returncode, stdout and
stderr. By default, stdout and stderr are not captured, and those attributes
will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them.
If check is True and the exit code was non-zero, it raises a
CalledProcessError. The CalledProcessError object will have the return code
in the returncode attribute, and output & stderr attributes if those streams
were captured.
If timeout is given, and the process takes too long, a TimeoutExpired
exception will be raised.
There is an optional argument "input", allowing you to
pass bytes or a string to the subprocess's stdin. If you use this argument
you may not also use the Popen constructor's "stdin" argument, as
it will be used internally.
By default, all communication is in bytes, and therefore any "input" should
be bytes, and the stdout and stderr will be bytes. If in text mode, any
"input" should be a string, and stdout and stderr will be strings decoded
according to locale encoding, or by "encoding" if set. Text mode is
triggered by setting any of text, encoding, errors or universal_newlines.
The other arguments are the same as for the Popen constructor.
"""
if input is not None:
if kwargs.get('stdin') is not None:
raise ValueError('stdin and input arguments may not both be used.')
kwargs['stdin'] = PIPE
if capture_output:
if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
raise ValueError('stdout and stderr arguments may not be used '
'with capture_output.')
kwargs['stdout'] = PIPE
kwargs['stderr'] = PIPE
with Popen(*popenargs, **kwargs) as process:
try:
stdout, stderr = process.communicate(input, timeout=timeout)
except TimeoutExpired as exc:
process.kill()
if _mswindows:
# Windows accumulates the output in a single blocking
# read() call run on child threads, with the timeout
# being done in a join() on those threads. communicate()
# _after_ kill() is required to collect that and add it
# to the exception.
exc.stdout, exc.stderr = process.communicate()
else:
# POSIX _communicate already populated the output so
# far into the TimeoutExpired exception.
process.wait()
raise
except: # Including KeyboardInterrupt, communicate handled that.
process.kill()
# We don't call process.wait() as .__exit__ does that for us.
raise
retcode = process.poll()
if check and retcode:
> raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
E subprocess.CalledProcessError: Command '['bowtie2', '-p', '1', '--sensitive-local', '--rfg', '5,3', '-x', '/tmp/qiime2/smomw445/data/32eb5e3e-f571-424d-bd94-2e56e0347c98/data/db', '-U', '/tmp/q2-CasavaOneEightSingleLanePerSampleDirFmt-ydgb9030/sample_a_S01_L001_R1_001.fastq.gz', '-S', '/tmp/tmprkmjx5ai']' returned non-zero exit status 127.
../../.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/subprocess.py:516: CalledProcessError
----------------------------------- Captured stdout call ------------------------------------
Running external command line application. This may print messages to stdout and/or stderr.
The commands to be run are below. These commands cannot be manually re-run as they will depend on temporary files that no longer exist.
Command: bowtie2 -p 1 --sensitive-local --rfg 5,3 -x /tmp/qiime2/smomw445/data/32eb5e3e-f571-424d-bd94-2e56e0347c98/data/db -U /tmp/q2-CasavaOneEightSingleLanePerSampleDirFmt-ydgb9030/sample_a_S01_L001_R1_001.fastq.gz -S /tmp/tmprkmjx5ai
----------------------------------- Captured stderr call ------------------------------------
perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
_______________________ TestFilterSingle.test_filter_single_keep_seqs _______________________
self = <q2_quality_control.tests.test_filter.TestFilterSingle testMethod=test_filter_single_keep_seqs>
def test_filter_single_keep_seqs(self):
> obs_art, = self.plugin.methods['filter_reads'](
self.demuxed_art, self.indexed_genome, exclude_seqs=False)
q2_quality_control/tests/test_filter.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
<decorator-gen-46>:2: in filter_reads
???
../../.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/site-packages/qiime2/sdk/action.py:342: in bound_callable
outputs = self._callable_executor_(
../../.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/site-packages/qiime2/sdk/action.py:566: in _callable_executor_
output_views = self._callable(**view_args)
q2_quality_control/_filter.py:77: in filter_reads
_bowtie2_filter(fwd, rev, filtered_seqs, database, n_threads, mode,
q2_quality_control/_filter.py:106: in _bowtie2_filter
_run_command(bowtie_cmd)
q2_quality_control/_utilities.py:39: in _run_command
subprocess.run(cmd, check=True, stdout=stdout, stdin=stdin, cwd=cwd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
input = None, capture_output = False, timeout = None, check = True
popenargs = (['bowtie2', '-p', '1', '--sensitive-local', '--rfg', '5,3', ...],)
kwargs = {'cwd': None, 'stdin': None, 'stdout': None}
process = <subprocess.Popen object at 0x1552d649da60>, stdout = None, stderr = None
retcode = 127
def run(*popenargs,
input=None, capture_output=False, timeout=None, check=False, **kwargs):
"""Run command with arguments and return a CompletedProcess instance.
The returned instance will have attributes args, returncode, stdout and
stderr. By default, stdout and stderr are not captured, and those attributes
will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them.
If check is True and the exit code was non-zero, it raises a
CalledProcessError. The CalledProcessError object will have the return code
in the returncode attribute, and output & stderr attributes if those streams
were captured.
If timeout is given, and the process takes too long, a TimeoutExpired
exception will be raised.
There is an optional argument "input", allowing you to
pass bytes or a string to the subprocess's stdin. If you use this argument
you may not also use the Popen constructor's "stdin" argument, as
it will be used internally.
By default, all communication is in bytes, and therefore any "input" should
be bytes, and the stdout and stderr will be bytes. If in text mode, any
"input" should be a string, and stdout and stderr will be strings decoded
according to locale encoding, or by "encoding" if set. Text mode is
triggered by setting any of text, encoding, errors or universal_newlines.
The other arguments are the same as for the Popen constructor.
"""
if input is not None:
if kwargs.get('stdin') is not None:
raise ValueError('stdin and input arguments may not both be used.')
kwargs['stdin'] = PIPE
if capture_output:
if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
raise ValueError('stdout and stderr arguments may not be used '
'with capture_output.')
kwargs['stdout'] = PIPE
kwargs['stderr'] = PIPE
with Popen(*popenargs, **kwargs) as process:
try:
stdout, stderr = process.communicate(input, timeout=timeout)
except TimeoutExpired as exc:
process.kill()
if _mswindows:
# Windows accumulates the output in a single blocking
# read() call run on child threads, with the timeout
# being done in a join() on those threads. communicate()
# _after_ kill() is required to collect that and add it
# to the exception.
exc.stdout, exc.stderr = process.communicate()
else:
# POSIX _communicate already populated the output so
# far into the TimeoutExpired exception.
process.wait()
raise
except: # Including KeyboardInterrupt, communicate handled that.
process.kill()
# We don't call process.wait() as .__exit__ does that for us.
raise
retcode = process.poll()
if check and retcode:
> raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
E subprocess.CalledProcessError: Command '['bowtie2', '-p', '1', '--sensitive-local', '--rfg', '5,3', '-x', '/tmp/qiime2/smomw445/data/32eb5e3e-f571-424d-bd94-2e56e0347c98/data/db', '-U', '/tmp/q2-CasavaOneEightSingleLanePerSampleDirFmt-lm45t44g/sample_a_S01_L001_R1_001.fastq.gz', '-S', '/tmp/tmp2lm08w15']' returned non-zero exit status 127.
../../.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/subprocess.py:516: CalledProcessError
----------------------------------- Captured stdout call ------------------------------------
Running external command line application. This may print messages to stdout and/or stderr.
The commands to be run are below. These commands cannot be manually re-run as they will depend on temporary files that no longer exist.
Command: bowtie2 -p 1 --sensitive-local --rfg 5,3 -x /tmp/qiime2/smomw445/data/32eb5e3e-f571-424d-bd94-2e56e0347c98/data/db -U /tmp/q2-CasavaOneEightSingleLanePerSampleDirFmt-lm45t44g/sample_a_S01_L001_R1_001.fastq.gz -S /tmp/tmp2lm08w15
----------------------------------- Captured stderr call ------------------------------------
perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
_____________________ TestFilterPaired.test_filter_paired_exclude_seqs ______________________
self = <q2_quality_control.tests.test_filter.TestFilterPaired testMethod=test_filter_paired_exclude_seqs>
def test_filter_paired_exclude_seqs(self):
> obs_art, = self.plugin.methods['filter_reads'](
self.demuxed_art, self.indexed_genome, exclude_seqs=True)
q2_quality_control/tests/test_filter.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
<decorator-gen-46>:2: in filter_reads
???
../../.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/site-packages/qiime2/sdk/action.py:342: in bound_callable
outputs = self._callable_executor_(
../../.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/site-packages/qiime2/sdk/action.py:566: in _callable_executor_
output_views = self._callable(**view_args)
q2_quality_control/_filter.py:77: in filter_reads
_bowtie2_filter(fwd, rev, filtered_seqs, database, n_threads, mode,
q2_quality_control/_filter.py:106: in _bowtie2_filter
_run_command(bowtie_cmd)
q2_quality_control/_utilities.py:39: in _run_command
subprocess.run(cmd, check=True, stdout=stdout, stdin=stdin, cwd=cwd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
input = None, capture_output = False, timeout = None, check = True
popenargs = (['bowtie2', '-p', '1', '--sensitive-local', '--rfg', '5,3', ...],)
kwargs = {'cwd': None, 'stdin': None, 'stdout': None}
process = <subprocess.Popen object at 0x1552e6b429d0>, stdout = None, stderr = None
retcode = 127
def run(*popenargs,
input=None, capture_output=False, timeout=None, check=False, **kwargs):
"""Run command with arguments and return a CompletedProcess instance.
The returned instance will have attributes args, returncode, stdout and
stderr. By default, stdout and stderr are not captured, and those attributes
will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them.
If check is True and the exit code was non-zero, it raises a
CalledProcessError. The CalledProcessError object will have the return code
in the returncode attribute, and output & stderr attributes if those streams
were captured.
If timeout is given, and the process takes too long, a TimeoutExpired
exception will be raised.
There is an optional argument "input", allowing you to
pass bytes or a string to the subprocess's stdin. If you use this argument
you may not also use the Popen constructor's "stdin" argument, as
it will be used internally.
By default, all communication is in bytes, and therefore any "input" should
be bytes, and the stdout and stderr will be bytes. If in text mode, any
"input" should be a string, and stdout and stderr will be strings decoded
according to locale encoding, or by "encoding" if set. Text mode is
triggered by setting any of text, encoding, errors or universal_newlines.
The other arguments are the same as for the Popen constructor.
"""
if input is not None:
if kwargs.get('stdin') is not None:
raise ValueError('stdin and input arguments may not both be used.')
kwargs['stdin'] = PIPE
if capture_output:
if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
raise ValueError('stdout and stderr arguments may not be used '
'with capture_output.')
kwargs['stdout'] = PIPE
kwargs['stderr'] = PIPE
with Popen(*popenargs, **kwargs) as process:
try:
stdout, stderr = process.communicate(input, timeout=timeout)
except TimeoutExpired as exc:
process.kill()
if _mswindows:
# Windows accumulates the output in a single blocking
# read() call run on child threads, with the timeout
# being done in a join() on those threads. communicate()
# _after_ kill() is required to collect that and add it
# to the exception.
exc.stdout, exc.stderr = process.communicate()
else:
# POSIX _communicate already populated the output so
# far into the TimeoutExpired exception.
process.wait()
raise
except: # Including KeyboardInterrupt, communicate handled that.
process.kill()
# We don't call process.wait() as .__exit__ does that for us.
raise
retcode = process.poll()
if check and retcode:
> raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
E subprocess.CalledProcessError: Command '['bowtie2', '-p', '1', '--sensitive-local', '--rfg', '5,3', '-x', '/tmp/qiime2/smomw445/data/32eb5e3e-f571-424d-bd94-2e56e0347c98/data/db', '-1', '/tmp/q2-CasavaOneEightSingleLanePerSampleDirFmt-q8afsxex/sample_a_S01_L001_R1_001.fastq.gz', '-2', '/tmp/q2-CasavaOneEightSingleLanePerSampleDirFmt-q8afsxex/sample_a_S01_L001_R2_001.fastq.gz', '-S', '/tmp/tmp7a3vsbxq']' returned non-zero exit status 127.
../../.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/subprocess.py:516: CalledProcessError
----------------------------------- Captured stdout call ------------------------------------
Running external command line application. This may print messages to stdout and/or stderr.
The commands to be run are below. These commands cannot be manually re-run as they will depend on temporary files that no longer exist.
Command: bowtie2 -p 1 --sensitive-local --rfg 5,3 -x /tmp/qiime2/smomw445/data/32eb5e3e-f571-424d-bd94-2e56e0347c98/data/db -1 /tmp/q2-CasavaOneEightSingleLanePerSampleDirFmt-q8afsxex/sample_a_S01_L001_R1_001.fastq.gz -2 /tmp/q2-CasavaOneEightSingleLanePerSampleDirFmt-q8afsxex/sample_a_S01_L001_R2_001.fastq.gz -S /tmp/tmp7a3vsbxq
----------------------------------- Captured stderr call ------------------------------------
perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
_______________________ TestFilterPaired.test_filter_paired_keep_seqs _______________________
self = <q2_quality_control.tests.test_filter.TestFilterPaired testMethod=test_filter_paired_keep_seqs>
def test_filter_paired_keep_seqs(self):
> obs_art, = self.plugin.methods['filter_reads'](
self.demuxed_art, self.indexed_genome, exclude_seqs=False)
q2_quality_control/tests/test_filter.py:105:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
<decorator-gen-46>:2: in filter_reads
???
../../.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/site-packages/qiime2/sdk/action.py:342: in bound_callable
outputs = self._callable_executor_(
../../.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/site-packages/qiime2/sdk/action.py:566: in _callable_executor_
output_views = self._callable(**view_args)
q2_quality_control/_filter.py:77: in filter_reads
_bowtie2_filter(fwd, rev, filtered_seqs, database, n_threads, mode,
q2_quality_control/_filter.py:106: in _bowtie2_filter
_run_command(bowtie_cmd)
q2_quality_control/_utilities.py:39: in _run_command
subprocess.run(cmd, check=True, stdout=stdout, stdin=stdin, cwd=cwd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
input = None, capture_output = False, timeout = None, check = True
popenargs = (['bowtie2', '-p', '1', '--sensitive-local', '--rfg', '5,3', ...],)
kwargs = {'cwd': None, 'stdin': None, 'stdout': None}
process = <subprocess.Popen object at 0x1552d6214070>, stdout = None, stderr = None
retcode = 127
def run(*popenargs,
input=None, capture_output=False, timeout=None, check=False, **kwargs):
"""Run command with arguments and return a CompletedProcess instance.
The returned instance will have attributes args, returncode, stdout and
stderr. By default, stdout and stderr are not captured, and those attributes
will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them.
If check is True and the exit code was non-zero, it raises a
CalledProcessError. The CalledProcessError object will have the return code
in the returncode attribute, and output & stderr attributes if those streams
were captured.
If timeout is given, and the process takes too long, a TimeoutExpired
exception will be raised.
There is an optional argument "input", allowing you to
pass bytes or a string to the subprocess's stdin. If you use this argument
you may not also use the Popen constructor's "stdin" argument, as
it will be used internally.
By default, all communication is in bytes, and therefore any "input" should
be bytes, and the stdout and stderr will be bytes. If in text mode, any
"input" should be a string, and stdout and stderr will be strings decoded
according to locale encoding, or by "encoding" if set. Text mode is
triggered by setting any of text, encoding, errors or universal_newlines.
The other arguments are the same as for the Popen constructor.
"""
if input is not None:
if kwargs.get('stdin') is not None:
raise ValueError('stdin and input arguments may not both be used.')
kwargs['stdin'] = PIPE
if capture_output:
if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
raise ValueError('stdout and stderr arguments may not be used '
'with capture_output.')
kwargs['stdout'] = PIPE
kwargs['stderr'] = PIPE
with Popen(*popenargs, **kwargs) as process:
try:
stdout, stderr = process.communicate(input, timeout=timeout)
except TimeoutExpired as exc:
process.kill()
if _mswindows:
# Windows accumulates the output in a single blocking
# read() call run on child threads, with the timeout
# being done in a join() on those threads. communicate()
# _after_ kill() is required to collect that and add it
# to the exception.
exc.stdout, exc.stderr = process.communicate()
else:
# POSIX _communicate already populated the output so
# far into the TimeoutExpired exception.
process.wait()
raise
except: # Including KeyboardInterrupt, communicate handled that.
process.kill()
# We don't call process.wait() as .__exit__ does that for us.
raise
retcode = process.poll()
if check and retcode:
> raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
E subprocess.CalledProcessError: Command '['bowtie2', '-p', '1', '--sensitive-local', '--rfg', '5,3', '-x', '/tmp/qiime2/smomw445/data/32eb5e3e-f571-424d-bd94-2e56e0347c98/data/db', '-1', '/tmp/q2-CasavaOneEightSingleLanePerSampleDirFmt-pv90bwiq/sample_a_S01_L001_R1_001.fastq.gz', '-2', '/tmp/q2-CasavaOneEightSingleLanePerSampleDirFmt-pv90bwiq/sample_a_S01_L001_R2_001.fastq.gz', '-S', '/tmp/tmpsqa7f6wv']' returned non-zero exit status 127.
../../.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/subprocess.py:516: CalledProcessError
----------------------------------- Captured stdout call ------------------------------------
Running external command line application. This may print messages to stdout and/or stderr.
The commands to be run are below. These commands cannot be manually re-run as they will depend on temporary files that no longer exist.
Command: bowtie2 -p 1 --sensitive-local --rfg 5,3 -x /tmp/qiime2/smomw445/data/32eb5e3e-f571-424d-bd94-2e56e0347c98/data/db -1 /tmp/q2-CasavaOneEightSingleLanePerSampleDirFmt-pv90bwiq/sample_a_S01_L001_R1_001.fastq.gz -2 /tmp/q2-CasavaOneEightSingleLanePerSampleDirFmt-pv90bwiq/sample_a_S01_L001_R2_001.fastq.gz -S /tmp/tmpsqa7f6wv
----------------------------------- Captured stderr call ------------------------------------
perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
===================================== warnings summary ======================================
../../.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/site-packages/qiime2/core/archive/provenance.py:13
/gxfs_work/geomar/smomw445/.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/site-packages/qiime2/core/archive/provenance.py:13: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
../../.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/site-packages/pkg_resources/__init__.py:2868
/gxfs_work/geomar/smomw445/.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/site-packages/pkg_resources/__init__.py:2868: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('mpl_toolkits')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
../../.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/site-packages/pkg_resources/__init__.py:2868
/gxfs_work/geomar/smomw445/.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/site-packages/pkg_resources/__init__.py:2868: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
q2_quality_control/tests/test_decontam.py::TestIdentify::test_combined
q2_quality_control/tests/test_decontam.py::TestIdentify::test_combined
q2_quality_control/tests/test_decontam.py::TestIdentify::test_combined
<frozen importlib._bootstrap>:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C header, got 232 from PyObject
q2_quality_control/tests/test_decontam.py::TestIdentify::test_combined
/gxfs_work/geomar/smomw445/.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/site-packages/sklearn/utils/multiclass.py:14: DeprecationWarning: Please use `spmatrix` from the `scipy.sparse` namespace, the `scipy.sparse.base` namespace is deprecated.
from scipy.sparse.base import spmatrix
q2_quality_control/tests/test_decontam.py::TestIdentify::test_combined
/gxfs_work/geomar/smomw445/.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/site-packages/sklearn/utils/optimize.py:18: DeprecationWarning: Please use `line_search_wolfe2` from the `scipy.optimize` namespace, the `scipy.optimize.linesearch` namespace is deprecated.
from scipy.optimize.linesearch import line_search_wolfe2, line_search_wolfe1
q2_quality_control/tests/test_decontam.py::TestIdentify::test_combined
/gxfs_work/geomar/smomw445/.conda/envs/qiime2-amplicon-2024.2/lib/python3.8/site-packages/sklearn/utils/optimize.py:18: DeprecationWarning: Please use `line_search_wolfe1` from the `scipy.optimize` namespace, the `scipy.optimize.linesearch` namespace is deprecated.
from scipy.optimize.linesearch import line_search_wolfe2, line_search_wolfe1
q2_quality_control/tests/test_decontam.py::TestRemove::test_remove
/gxfs_work/geomar/smomw445/soft/q2-quality-control/q2_quality_control/tests/test_decontam.py:137: FutureWarning: The behavior of .astype from SparseDtype to a non-sparse dtype is deprecated. In a future version, this will return a non-sparse array with the requested dtype. To retain the old behavior, use `obj.astype(SparseDtype(dtype))`
temp_table.to_csv(test_biom_fp, sep="\t")
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================== short test summary info ==================================
FAILED q2_quality_control/tests/test_filter.py::TestFilterSingle::test_filter_single_exclude_seqs - subprocess.CalledProcessError: Command '['bowtie2', '-p', '1', '--sensitive-local', '--r...
FAILED q2_quality_control/tests/test_filter.py::TestFilterSingle::test_filter_single_keep_seqs - subprocess.CalledProcessError: Command '['bowtie2', '-p', '1', '--sensitive-local', '--r...
FAILED q2_quality_control/tests/test_filter.py::TestFilterPaired::test_filter_paired_exclude_seqs - subprocess.CalledProcessError: Command '['bowtie2', '-p', '1', '--sensitive-local', '--r...
FAILED q2_quality_control/tests/test_filter.py::TestFilterPaired::test_filter_paired_keep_seqs - subprocess.CalledProcessError: Command '['bowtie2', '-p', '1', '--sensitive-local', '--r...
=================== 4 failed, 90 passed, 10 warnings in 66.99s (0:01:06) ====================
make: *** [Makefile:12: test] Error 1