biofiles 0.1.1__py3-none-any.whl → 0.1.2__py3-none-any.whl

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.
@@ -144,7 +144,7 @@ stop_codon_exon, _ = relation(source=("transcript_id", "exon_number"), one_to_on
144
144
 
145
145
  class Gene(BaseGene, type="gene"):
146
146
  id: str = id_field(source="gene_id")
147
- type: GeneType = field(source="gene_type")
147
+ biotype: GeneType = field(source="gene_type")
148
148
  name: str = field(source="gene_name")
149
149
  transcripts: list["Transcript"] = gene_transcripts
150
150
  tags: list[str] = field(source="tag", default_factory=list)
@@ -152,7 +152,7 @@ class Gene(BaseGene, type="gene"):
152
152
 
153
153
  class Transcript(BaseTranscript, type="transcript"):
154
154
  id: str = id_field(source="transcript_id")
155
- type: TranscriptType = field(source="transcript_type")
155
+ biotype: TranscriptType = field(source="transcript_type")
156
156
  name: str = field(source="transcript_name")
157
157
  gene: Gene = transcript_gene
158
158
  exons: list["Exon"] = transcript_exons
@@ -2,12 +2,12 @@ from biofiles.types.feature import Feature
2
2
 
3
3
 
4
4
  class Gene(Feature):
5
- type: str
5
+ biotype: str
6
6
  transcripts: list["Transcript"]
7
7
 
8
8
 
9
9
  class Transcript(Feature):
10
- type: str
10
+ biotype: str
11
11
  gene: Gene
12
12
  exons: list["Exon"]
13
13
 
@@ -90,7 +90,7 @@ stop_codon_exon, _ = relation(source=("transcript_id", "exon_number"), one_to_on
90
90
 
91
91
  class Gene(BaseGene, type="gene"):
92
92
  id: str = id_field(source="gene_id")
93
- type: GeneType = field(source="gene_biotype")
93
+ biotype: GeneType = field(source="gene_biotype")
94
94
  name: str = field(source="gene")
95
95
  synonyms: list[str] = field(source="gene_synonym", default_factory=list)
96
96
  transcripts: list["Transcript"] = gene_transcripts
@@ -98,7 +98,7 @@ class Gene(BaseGene, type="gene"):
98
98
 
99
99
  class Transcript(BaseTranscript, type="transcript"):
100
100
  id: str = id_field(source="transcript_id")
101
- type: TranscriptType = field(source="transcript_biotype")
101
+ biotype: TranscriptType = field(source="transcript_biotype")
102
102
  product: str | None = field(source="product", default=None)
103
103
  gene: Gene = transcript_gene
104
104
  exons: list["Exon"] = transcript_exons
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: biofiles
3
- Version: 0.1.1
3
+ Version: 0.1.2
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>
@@ -8,9 +8,9 @@ biofiles/gtf.py,sha256=wCtHzLTCqR-oAGPtiRDJ4GvyS_Z5FzmLLzw8lgTj5Ig,3490
8
8
  biofiles/repeatmasker.py,sha256=7KObXELCHQ6oBkO8yK6Znrs6MX8sfVuxNSmOMe0Ogfk,3289
9
9
  biofiles/dialects/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  biofiles/dialects/detector.py,sha256=OP42NhQf3s609fmDaRRFEMawgf0VMZdeAfkbK6IL4yM,2461
11
- biofiles/dialects/gencode.py,sha256=4XyHZfrvxDm64bWnEYyatmkKtFgdgZynCXpiCGQ8OnY,7724
12
- biofiles/dialects/genomic_base.py,sha256=JOVmVHj3DNboZK79v4Ofj5qNRWpABZrUDdMntFZkx4U,356
13
- biofiles/dialects/refseq.py,sha256=UYjDb5S98hjhfD1tPAIY796E0ditsZAvc-u5qSKfvOk,4211
11
+ biofiles/dialects/gencode.py,sha256=oxTKmcipalgdhy_eNhCqRd5Rdchz8Pn1SXlQHlg6YuM,7730
12
+ biofiles/dialects/genomic_base.py,sha256=mw46OgVW1TjsZ-RnH_Nnfs2bJIqJiaPV8d-MaAbjPSQ,362
13
+ biofiles/dialects/refseq.py,sha256=ZjTpm-AOLs2jQRU9G4V11uiAAtrJop1OF-HyDIr-IrI,4217
14
14
  biofiles/dialects/stringtie.py,sha256=kuQ6IWRo7c4xkNjN-4jjYy3_dRUPorMaffYvDYvQDD8,834
15
15
  biofiles/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  biofiles/types/alignment.py,sha256=Kc0XteLyfj1gNJNLsUgzSKzAAoMobhkJyPFsovaU7dM,1696
@@ -20,8 +20,8 @@ biofiles/types/sequence.py,sha256=XeJ3wgi8AwRaVYVKmf41y5mOmWQfdsS8ysaRLZWbNoQ,25
20
20
  biofiles/utility/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
21
  biofiles/utility/cli.py,sha256=i2kYpPFnpTYdbd_6T-U9-egitKhDGQVDbw5gme4Kelg,4074
22
22
  biofiles/utility/feature.py,sha256=bHUOfYir_Dfk_DEBrlO1GXvkJKDRkpj2YJfSl4w698s,7931
23
- biofiles-0.1.1.dist-info/licenses/LICENSE,sha256=CbR8ssdFyViKj25JAlMjIt1_FbiZ1tAC5t-uwUbxqak,1070
24
- biofiles-0.1.1.dist-info/METADATA,sha256=8maXLM85bmqcLfjZ-f3H_LolE62pd1J7YWERqc__Nt0,3361
25
- biofiles-0.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
26
- biofiles-0.1.1.dist-info/top_level.txt,sha256=laFaFv8hpkI4U-Pgs0yBaAJXN2_CJKl7jb-m3-tGfSc,9
27
- biofiles-0.1.1.dist-info/RECORD,,
23
+ biofiles-0.1.2.dist-info/licenses/LICENSE,sha256=CbR8ssdFyViKj25JAlMjIt1_FbiZ1tAC5t-uwUbxqak,1070
24
+ biofiles-0.1.2.dist-info/METADATA,sha256=FecyQR9RV1AgLstbkbARgEbSqzsaP2LwMY03f7gZqiA,3361
25
+ biofiles-0.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
26
+ biofiles-0.1.2.dist-info/top_level.txt,sha256=laFaFv8hpkI4U-Pgs0yBaAJXN2_CJKl7jb-m3-tGfSc,9
27
+ biofiles-0.1.2.dist-info/RECORD,,