semvec/pypi-packages huggingface dataset:
dict-to-object 1.0.3
python dictionary to object.
License: MIT

# dict-to-object

```python
import dicttoobject

test_dict = {
    "key1": 1,
    "key2": {
        "key3": "value3"
    }
}

readonly_object = dicttoobject.dict_to_readonly_object(test_dict)
print(readonly_object)
# ReadOnlyObject(key1=1, key2=ReadOnlyObject(key3='value3'))

try:
    readonly_object.key2 = 2
except dicttoobject.DoNotWriteError as e:
    print(e.attr_name)
    # key2
    print(e.attr_value)
    # 2

writable_object = dicttoobject.dict_to_writable_object(test_dict)
print(writable_object)
# WritableObject(key1=1, key2=WritableObject(key3='value3'))

writable_object.key2.key3 = 3
print(writable_object.key2.key3)
# 3

writable_object.key4 = 4
print(writable_object.key4)
# 4

dict_from_readonly = dicttoobject.object_to_dict(readonly_object)
print(dict_from_readonly)
# {'key1': 1, 'key2': {'key3': 'value3'}}

dict_from_writable = dicttoobject.object_to_dict(writable_object)
print(dict_from_writable)
# {'key1': 1, 'key2': {'key3': 3}, 'key4': 4}
```
anvage 0.1.1
toolkit to process routine operation on gff3, vcf and fasta files
License: MIT

# ANVAGE

[![Build Status](https://travis-ci.com/Grelot/anvage.svg?branch=main)](https://travis-ci.com/Grelot/anvage)


ANnotation Variants GEnome is a toolkit software to perform routine operations that involve VCF, GFF3 and FASTA genome files.

# usage


```
anvage select --vcf tests/data/sample.vcf \
--genome tests/data/genome.fasta \
--annotation tests/data/genome.gff3 \
--selectionAnnotationType CDS \
--output_prefix res
```


```
anvage synonymous --vcf tests/data/sample.vcf \
--genome tests/data/genome.fasta \
--annotation tests/data/genome.gff3 \
--output_prefix res
```


```
anvage flank --vcf tests/data/sample.vcf \
--genome tests/data/genome.fasta \
--windowsSize 25 \
--output_prefix res
```


https://github.com/laurabenestan/BLAST/blob/master/flanking_sequence.py