{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "58af7038", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "ID: 1\n", "Name: 1\n", "Description: 1 dna:chromosome chromosome:TAIR10:1:1:30427671:1 REF\n", "Number of features: 0\n", "Seq('CCCTAAACCCTAAACCCTAAACCCTAAACCTCTGAATCCTTAATCCCTAAATCC...GGG')\n" ] } ], "source": [ "from src.utils import read_fasta_file\n", "for record in read_fasta_file('chrom.1.fa'):\n", " print(record)" ] } ], "metadata": { "kernelspec": { "display_name": "DeepPlant", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.11.0" } }, "nbformat": 4, "nbformat_minor": 5 }