file:fasta#

FASTA sequence file format

  • Technical Form Name: file:fasta

  • Form Type: file

Added in version 1.0.0.

Overview#

file:fasta is a supported representation form in MolSysMT. FASTA sequence file format

Supported attributes#

The file:fasta form container supports a total of 15 attributes:

Category

Subcategory / Level

Supported Attributes

Topological

Group Level

group_index, group_name, group_type

Topological

Chain Level

chain_index, chain_name, chain_id, chain_type

Topological

Entity Level

entity_index, entity_name, entity_id, entity_type

Topological

Element Counts

n_groups, n_chains, n_entities, n_amino_acids

Implemented operations#

The form adapter module molsysmt.form.file_fasta implements the following functions and modules:

Function / Module

Description

extract()

Extracts a subset of atoms, groups, or structures into a new file:fasta instance.

copy()

Creates an independent deep copy of the file:fasta object in memory.

add()

Adds elements from another system into an existing file:fasta instance.

merge()

Merges multiple systems into a single combined file:fasta object.

get_topological_attributes

Module containing getters for topological attributes.

get_structural_attributes

Module containing getters for structural attributes.

set

Module containing setters for updating coordinates, box dimensions, or attributes in-place.

iterators

Module providing iterators for streaming trajectory frames and structures.

has_attribute()

Checks whether a specific attribute name is supported by file:fasta.

is_form()

Returns True if the provided object is an instance of file:fasta.

Supported conversions#

The following table lists all direct conversion functions implemented in molsysmt.form.file_fasta:

Target Form

Form Type

API Documentation

biopython.Seq

class

to_biopython_Seq()

biopython.SeqRecord

class

to_biopython_SeqRecord()

file:fasta

file

to_file_fasta()

molsysmt.Topology

class

to_molsysmt_Topology()

string:amino_acids_1

string

to_string_amino_acids_1()