yoda_powers.bio Package

Handy functions to manipulate biological data with Biopython.

Functions

concat_fasta_files(path_directory)

Return a fasta dictionnary of concatenation fasta file’s find in directory (“fasta”, “fa”, “fas”)

convert_fasta_2_nexus(path_directory, …)

Return the number of fasta file’s convert find in directory (“fasta”, “fa”, “fas”) where are converted

dict_2_fasta(dico, fasta_out)

Function that takes a dictionary where key are ID and value Seq, and write a fasta file.

extract_seq_from_fasta(fasta_file, wanted_file)

Function to extract sequence from fasta file

fasta_2_dict(fasta_file)

Function that take a file name (fasta), and return a dictionnary of sequence

len_seq_2_dict(fasta_file)

Function that take a file name (fasta), and return a dictionnary with length of sequence

nb_seq_files_2_dict(path_directory)

Function that take a Path Directory and returna dictionnary with number of sequences in fasta file’s

Classes

ParseGFF(filename)

Parser of GFF3 file write in python.