biofiles 0.0.13__tar.gz → 0.0.14__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. {biofiles-0.0.13 → biofiles-0.0.14}/PKG-INFO +1 -1
  2. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles/repeatmasker.py +5 -1
  3. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles.egg-info/PKG-INFO +1 -1
  4. {biofiles-0.0.13 → biofiles-0.0.14}/pyproject.toml +1 -1
  5. {biofiles-0.0.13 → biofiles-0.0.14}/LICENSE +0 -0
  6. {biofiles-0.0.13 → biofiles-0.0.14}/README.md +0 -0
  7. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles/__init__.py +0 -0
  8. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles/bam.py +0 -0
  9. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles/common.py +0 -0
  10. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles/dialects/__init__.py +0 -0
  11. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles/dialects/havana_ensembl.py +0 -0
  12. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles/fai.py +0 -0
  13. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles/fasta.py +0 -0
  14. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles/gff.py +0 -0
  15. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles/gtf.py +0 -0
  16. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles/types/__init__.py +0 -0
  17. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles/types/alignment.py +0 -0
  18. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles/types/feature.py +0 -0
  19. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles/types/feature_v2.py +0 -0
  20. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles/types/repeat.py +0 -0
  21. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles/types/sequence.py +0 -0
  22. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles/utility/__init__.py +0 -0
  23. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles/utility/cli.py +0 -0
  24. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles/utility/feature.py +0 -0
  25. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles/utility/feature_v2.py +0 -0
  26. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles.egg-info/SOURCES.txt +0 -0
  27. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles.egg-info/dependency_links.txt +0 -0
  28. {biofiles-0.0.13 → biofiles-0.0.14}/biofiles.egg-info/top_level.txt +0 -0
  29. {biofiles-0.0.13 → biofiles-0.0.14}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: biofiles
3
- Version: 0.0.13
3
+ Version: 0.0.14
4
4
  Summary: Pure-Python, zero-dependency collection of bioinformatics-related file readers and writers
5
5
  Author-email: Tigran Saluev <tigran@saluev.com>
6
6
  Maintainer-email: Tigran Saluev <tigran@saluev.com>
@@ -11,11 +11,15 @@ __all__ = ["RepeatMaskerReader"]
11
11
 
12
12
  class RepeatMaskerReader(Reader):
13
13
  def __iter__(self) -> Iterator[Repeat]:
14
+ has_passed_header = False
14
15
  for line in self._input:
15
- parts = line.split("\t")
16
+ parts = line.split()
16
17
  if not (14 <= len(parts) <= 15):
17
18
  # Probably some metainfo. No way to tell.
18
19
  continue
20
+ if not has_passed_header and ("SW" in parts or "score" in parts):
21
+ continue
22
+ has_passed_header = True
19
23
 
20
24
  (
21
25
  sw_score_str,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: biofiles
3
- Version: 0.0.13
3
+ Version: 0.0.14
4
4
  Summary: Pure-Python, zero-dependency collection of bioinformatics-related file readers and writers
5
5
  Author-email: Tigran Saluev <tigran@saluev.com>
6
6
  Maintainer-email: Tigran Saluev <tigran@saluev.com>
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "biofiles"
7
- version = "0.0.13"
7
+ version = "0.0.14"
8
8
  authors = [
9
9
  { name="Tigran Saluev", email="tigran@saluev.com" },
10
10
  ]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes