Currently, there are very few file formats and database formats for saving oligonucleotides (probes). Most files are saved in bed or tsv format. However, this is extremely unfriendly for recording the source of oligonucleotides and subsequent processing in standard procedures.
ioligo can change this situation.
- oligo: simultaneously record the sequence information and characteristic information of the oligonucleotide in oligo format, such as the source species, which tools are used, and parameter design.
- oligo5: one or more oligonucleotide files are designed to be compressed and saved in the oligo5 format based on the h5 file format.
To install ioligo with github:
pip install ioligo
ioligo --help
# oligo to oligo5
ioligo -ft OstoO5 -o test_data/oligo/test.oligo -n5 test_cli -ot test_data/oligo
# oligo dir to oligo5
ioligo -ft OstoO5 -od test_data/oligo -n5 test_cli_dir -ot test_data/oligo
# oligo5 ot oligo
ioligo -ft O5toOs -o5 test_data/oligo/test_cli_dir.oligo5 -ot test_data/oligo/O5toOs_cli
from ioligo import OLIGO,OLIGO5
more sample: https://github.com/iOLIGO/oligo/blob/main/tests/oligo.ipynb