mgkit.workflow.fasta_utils module

New in version 0.3.0.

Scripts that includes some functionality to help use FASTA files with the framework

split command

Used to split a fasta file into smaller fragments

translate command

Used to translate nucleotide sequences into amino acids.

uid command

Used to change a FASTA file headers to a unique ID. A table (tab separated) with the changes made can be kept, using the –table option.

Changes

New in version 0.3.0.

Changed in version 0.3.1: added translate and uid command

Changed in version 0.3.4: ported to click

mgkit.workflow.fasta_utils.load_trans_table(table_name)[source]

Loads translation table

mgkit.workflow.fasta_utils.translate_seq(name, seq, trans_table)[source]

Tranlates sequence into the 6 frames