https://github.com/pysam-developers/pysam
Revision cdc0ed12fbe2d7633b8fa47534ab2c2547f66b84 authored by Nils Homer on 20 October 2023, 10:12:28 UTC, committed by GitHub on 20 October 2023, 10:12:28 UTC
Add omitted tags to KNOWN_HEADER_FIELDS and VALID_HEADER_ORDER, so that
AlignmentHeader.from_dict()/to_dict() will preserve all header field tags
defined in the SAM specification. Addresses #1237.

Exercise TP:linear in some header tests.

Co-authored-by: John Marshall <jmarshall@hey.com>
1 parent 98a37ad
Raw File
Tip revision: cdc0ed12fbe2d7633b8fa47534ab2c2547f66b84 authored by Nils Homer on 20 October 2023, 10:12:28 UTC
Add missing header tags as per the spec (PR #1238)
Tip revision: cdc0ed1
.gitignore
# editor files
*~
*#

# test directory
tests/pysam/
tests/tmp*
tests/*.bam
tests/*.bai
tests/*.gz
tests/*.c
tests/*.pyxbldc
tests/*.sam
tests/*.fai
tests/pysam_data
tests/cbcf_data
tests/tabix_data

samtools/config.h
samtools/samtools_config_vars.h
bcftools/config.h
htslib/config.status
htslib/config.h
htslib/config.log
htslib/config.mk
htslib/config_vars.h
htslib/htscodecs.mk
htslib/htslib.pc.tmp
htslib/htslib-uninstalled.pc
htslib/version.h
pysam/config.py

# linking tests
BuildRead.c
# cython files
pysam/libc*.c

###### Generic python ignores below ######

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

# C extensions
lib*.a
*.o
*.so

# Distribution / packaging
.Python
env/
bin/
build/
develop-eggs/
dist/
eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
.python-version
.tox/
.coverage
.cache
nosetests.xml
coverage.xml

# Translations
*.mo

# Mr Developer
.mr.developer.cfg
.project
.pydevproject

# Rope
.ropeproject

# Django stuff:
*.log
*.pot

# Sphinx documentation
doc/_build/
back to top