Skip to content

concatenating discrete polypeptides to satisfy this sequence field #4

@n1mus

Description

@n1mus

The type spec:

typedef structure {
mol_id id;
string sequence;
string md5;
uniref_id uniref_id;
genome_ref genome_ref;
cds_id cds_id;
} ProteinData;

The usage:

for pp in ppb.build_peptides(structure):
pp_no += 1
my_seq= pp.get_sequence()
pp_list += str(my_seq)
seq = ''.join(pp_list)
data = {
'name': os.path.basename(file_path),
'num_chains': chain_no,
'num_residues': res_no,
'num_atoms': atom_no,
'protein': {
'id': os.path.basename(file_path),
'sequence': seq,
'md5': hashlib.md5(seq.encode()).hexdigest()
},
}

Where else can I open an issue for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions