/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/lib/python3.6/site-packages/xphyle-4.2.2-py3.6.egg/xphyle/paths.py:149: DeprecationWarning: Use of resolve_path with string path arguments is deprected (lineno /hpc/local/CentOS7/common/lang/python/3.6.1/lib/python3.6/argparse.py:2261) f"Use of {func.__name__} with string path arguments is " 2020-05-07 10:55:57.469 | INFO | atropos.commands.console:_setup_logging:247 - This is Atropos 2.0.0a5 with Python 3.6.1 %(asctime)s %(levelname)s: %(message)s 2020-05-07 10:55:57.484 | ERROR | atropos.console:execute_cli:151 - Error executing command: trim Traceback (most recent call last): File "/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/bin/atropos", line 11, in load_entry_point('atropos==2.0.0a5', 'console_scripts', 'atropos')() -> File "/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/lib/python3.6/site-packages/atropos-2.0.0a5-py3.6-linux-x86_64.egg/atropos/__main__.py", line 17, in main sys.exit(run_atropos(args)) | | | -> None | | -> | -> -> File "/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/lib/python3.6/site-packages/atropos-2.0.0a5-py3.6-linux-x86_64.egg/atropos/console.py", line 56, in run_atropos return execute_cli(args) | -> ['-a', 'RA5=GATCGTCGGACTGTAGAACTCTGAAC', '-se', 'TM433_trunc.bam', '--input-format', 'bam', '-o', 'testout.sam', '--output-fo... -> > File "/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/lib/python3.6/site-packages/atropos-2.0.0a5-py3.6-linux-x86_64.egg/atropos/console.py", line 144, in execute_cli retcode, summary = command.execute(args) | | -> ['-a', 'RA5=GATCGTCGGACTGTAGAACTCTGAAC', '-se', 'TM433_trunc.bam', '--input-format', 'bam', '-o', 'testout.sam', '--output-fo... | -> -> atropos.commands.trim.console.TrimCommandConsole File "/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/lib/python3.6/site-packages/atropos-2.0.0a5-py3.6-linux-x86_64.egg/atropos/commands/console.py", line 143, in execute command = cls._create_command(options) | | -> Namespace(accession=None, action=, adapter_cache_file=PosixPath('/home/gen/philip/proj/atropos/.adap... | -> -> atropos.commands.trim.console.TrimCommandConsole File "/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/lib/python3.6/site-packages/atropos-2.0.0a5-py3.6-linux-x86_64.egg/atropos/commands/console.py", line 177, in _create_command return cast(Type[BaseCommand], cls)(options) | | | | -> Namespace(accession=None, action=, adapter_cache_file=PosixPath('/home/gen/philip/proj/atropos/.adap... | | | -> atropos.commands.trim.console.TrimCommandConsole | | -> atropos.commands.BaseCommand | -> typing.Type -> File "/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/lib/python3.6/site-packages/atropos-2.0.0a5-py3.6-linux-x86_64.egg/atropos/commands/__init__.py", line 175, in __init__ self.reader = reader = open_reader(**open_args) | | -> {'file_format': , 'quality_base': 33, 'colorspace': False, 'input_read': -> File "/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/lib/python3.6/site-packages/atropos-2.0.0a5-py3.6-linux-x86_64.egg/atropos/io/readers/_impl.py", line 1136, in open_reader file1, quality_base=quality_base, alphabet=alphabet | | -> None | -> 33 -> PosixPath('/home/gen/philip/proj/atropos/TM433_trunc.bam') File "/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/lib/python3.6/site-packages/atropos-2.0.0a5-py3.6-linux-x86_64.egg/atropos/io/readers/_impl.py", line 815, in __init__ self._parser = BAMParser(self._file, **bam_kwargs) | | | | -> {'check_sq': False} | | | -> <_io.BufferedReader name='/home/gen/philip/proj/atropos/TM433_trunc.bam'> | | -> | -> atropos.io.readers._impl.BAMParser -> File "/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/lib/python3.6/site-packages/atropos-2.0.0a5-py3.6-linux-x86_64.egg/atropos/io/readers/_impl.py", line 733, in __init__ self._reader = self._load_bam_module().AlignmentFile(bam_file.name, **kwargs) | | | | | -> {'check_sq': False} | | | | -> | | | -> <_io.BufferedReader name='/home/gen/philip/proj/atropos/TM433_trunc.bam'> | | -> | -> -> File "/hpc/local/CentOS7/gen/lib/python3.6/site-packages/bamnostic/core.py", line 172, in __init__ bam.BamReader.__init__(self, **rargs) | | | | -> {'filepath_or_object': '/home/gen/philip/proj/atropos/TM433_trunc.bam', 'mode': 'rb', 'max_cache': 128, 'index_filename': Non... | | | -> | | -> | -> -> File "/hpc/local/CentOS7/gen/lib/python3.6/site-packages/bamnostic/bam.py", line 239, in __init__ super(BamReader, self).__init__(**super_args) | | -> {'filepath_or_object': '/home/gen/philip/proj/atropos/TM433_trunc.bam', 'mode': 'rb', 'max_cache': 128, 'filename': None, 'ig... | -> -> File "/hpc/local/CentOS7/gen/lib/python3.6/site-packages/bamnostic/bgzf.py", line 287, in __init__ self._load_block(handle.tell()) | | | -> | | -> <_io.BufferedReader name='/home/gen/philip/proj/atropos/TM433_trunc.bam'> | -> -> File "/hpc/local/CentOS7/gen/lib/python3.6/site-packages/bamnostic/bgzf.py", line 321, in _load_block block_size, self._buffer = _load_bgzf_block(handle) | | -> <_io.BufferedReader name='/home/gen/philip/proj/atropos/TM433_trunc.bam'> | -> -> File "/hpc/local/CentOS7/gen/lib/python3.6/site-packages/bamnostic/bgzf.py", line 213, in _load_bgzf_block header, _ = _bgzf_metaheader(handle) | -> <_io.BufferedReader name='/home/gen/philip/proj/atropos/TM433_trunc.bam'> -> File "/hpc/local/CentOS7/gen/lib/python3.6/site-packages/bamnostic/bgzf.py", line 130, in _bgzf_metaheader raise ValueError('Malformed BGZF block') ValueError: Malformed BGZF block %(asctime)s %(levelname)s: %(message)s Traceback (most recent call last): File "/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/bin/atropos", line 11, in load_entry_point('atropos==2.0.0a5', 'console_scripts', 'atropos')() -> File "/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/lib/python3.6/site-packages/atropos-2.0.0a5-py3.6-linux-x86_64.egg/atropos/__main__.py", line 17, in main sys.exit(run_atropos(args)) | | | -> None | | -> | -> -> File "/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/lib/python3.6/site-packages/atropos-2.0.0a5-py3.6-linux-x86_64.egg/atropos/console.py", line 56, in run_atropos return execute_cli(args) | -> ['-a', 'RA5=GATCGTCGGACTGTAGAACTCTGAAC', '-se', 'TM433_trunc.bam', '--input-format', 'bam', '-o', 'testout.sam', '--output-fo... -> > File "/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/lib/python3.6/site-packages/atropos-2.0.0a5-py3.6-linux-x86_64.egg/atropos/console.py", line 144, in execute_cli retcode, summary = command.execute(args) | | -> ['-a', 'RA5=GATCGTCGGACTGTAGAACTCTGAAC', '-se', 'TM433_trunc.bam', '--input-format', 'bam', '-o', 'testout.sam', '--output-fo... | -> -> atropos.commands.trim.console.TrimCommandConsole File "/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/lib/python3.6/site-packages/atropos-2.0.0a5-py3.6-linux-x86_64.egg/atropos/commands/console.py", line 143, in execute command = cls._create_command(options) | | -> Namespace(accession=None, action=, adapter_cache_file=PosixPath('/home/gen/philip/proj/atropos/.adap... | -> -> atropos.commands.trim.console.TrimCommandConsole File "/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/lib/python3.6/site-packages/atropos-2.0.0a5-py3.6-linux-x86_64.egg/atropos/commands/console.py", line 177, in _create_command return cast(Type[BaseCommand], cls)(options) | | | | -> Namespace(accession=None, action=, adapter_cache_file=PosixPath('/home/gen/philip/proj/atropos/.adap... | | | -> atropos.commands.trim.console.TrimCommandConsole | | -> atropos.commands.BaseCommand | -> typing.Type -> File "/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/lib/python3.6/site-packages/atropos-2.0.0a5-py3.6-linux-x86_64.egg/atropos/commands/__init__.py", line 175, in __init__ self.reader = reader = open_reader(**open_args) | | -> {'file_format': , 'quality_base': 33, 'colorspace': False, 'input_read': -> File "/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/lib/python3.6/site-packages/atropos-2.0.0a5-py3.6-linux-x86_64.egg/atropos/io/readers/_impl.py", line 1136, in open_reader file1, quality_base=quality_base, alphabet=alphabet | | -> None | -> 33 -> PosixPath('/home/gen/philip/proj/atropos/TM433_trunc.bam') File "/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/lib/python3.6/site-packages/atropos-2.0.0a5-py3.6-linux-x86_64.egg/atropos/io/readers/_impl.py", line 815, in __init__ self._parser = BAMParser(self._file, **bam_kwargs) | | | | -> {'check_sq': False} | | | -> <_io.BufferedReader name='/home/gen/philip/proj/atropos/TM433_trunc.bam'> | | -> | -> atropos.io.readers._impl.BAMParser -> File "/hpc/local/CentOS7/gen/software/atropos-2.0.0-alpha.5/lib/python3.6/site-packages/atropos-2.0.0a5-py3.6-linux-x86_64.egg/atropos/io/readers/_impl.py", line 733, in __init__ self._reader = self._load_bam_module().AlignmentFile(bam_file.name, **kwargs) | | | | | -> {'check_sq': False} | | | | -> | | | -> <_io.BufferedReader name='/home/gen/philip/proj/atropos/TM433_trunc.bam'> | | -> | -> -> File "/hpc/local/CentOS7/gen/lib/python3.6/site-packages/bamnostic/core.py", line 172, in __init__ bam.BamReader.__init__(self, **rargs) | | | | -> {'filepath_or_object': '/home/gen/philip/proj/atropos/TM433_trunc.bam', 'mode': 'rb', 'max_cache': 128, 'index_filename': Non... | | | -> | | -> | -> -> File "/hpc/local/CentOS7/gen/lib/python3.6/site-packages/bamnostic/bam.py", line 239, in __init__ super(BamReader, self).__init__(**super_args) | | -> {'filepath_or_object': '/home/gen/philip/proj/atropos/TM433_trunc.bam', 'mode': 'rb', 'max_cache': 128, 'filename': None, 'ig... | -> -> File "/hpc/local/CentOS7/gen/lib/python3.6/site-packages/bamnostic/bgzf.py", line 287, in __init__ self._load_block(handle.tell()) | | | -> | | -> <_io.BufferedReader name='/home/gen/philip/proj/atropos/TM433_trunc.bam'> | -> -> File "/hpc/local/CentOS7/gen/lib/python3.6/site-packages/bamnostic/bgzf.py", line 321, in _load_block block_size, self._buffer = _load_bgzf_block(handle) | | -> <_io.BufferedReader name='/home/gen/philip/proj/atropos/TM433_trunc.bam'> | -> -> File "/hpc/local/CentOS7/gen/lib/python3.6/site-packages/bamnostic/bgzf.py", line 213, in _load_bgzf_block header, _ = _bgzf_metaheader(handle) | -> <_io.BufferedReader name='/home/gen/philip/proj/atropos/TM433_trunc.bam'> -> File "/hpc/local/CentOS7/gen/lib/python3.6/site-packages/bamnostic/bgzf.py", line 130, in _bgzf_metaheader raise ValueError('Malformed BGZF block') ValueError: Malformed BGZF block