miRTop / mirtop

command lines tool to annotate miRNAs with a standard mirna/isomir naming
https://mirtop.readthedocs.org
MIT License
18 stars 21 forks source link

add function and test unit to read hairpin.fa #7

Closed lpantano closed 6 years ago

lpantano commented 7 years ago

Introduce a test unit to read the example GTF file at here: https://github.com/miRTop/mirtop/blob/dev/data/examples/annotate/hairping.fa

The output should be a nested dict like the following:

Initial function already implemented here: https://github.com/miRTop/mirtop/blob/dev/mirtop/mirna/fasta.py#L12

The unit test should be included here: https://github.com/miRTop/mirtop/blob/dev/test/test_functions.py#L22