Skip to content

Python function to convert a fasta file to a python dictionary

License

Notifications You must be signed in to change notification settings

kscott94/fasta_to_dict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

fasta_to_dict

Python function that converts a fasta file to a python dictionary. Each fasta header will become a dictionary key, and its corresponding sequence will become its value.

takes one argument: path to fasta file

usage:

In python consol, type:

fasta_to_dict("./path/to/file.fa")

About

Python function to convert a fasta file to a python dictionary

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages