Skip to content

Commit

Permalink
Add genetic code to the FASTA header
Browse files Browse the repository at this point in the history
  • Loading branch information
apcamargo committed Mar 23, 2022
1 parent 9834724 commit 120c779
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gene.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,8 @@ void record_gene_data(struct _gene *genes, int ng, struct _node *nod,
strcat(genes[i].gene_data, buffer);
}
}
sprintf(buffer, ";genetic_code=%d", tinf->trans_table);
strcat(genes[i].gene_data, buffer);
sprintf(buffer, ";gc_cont=%.3f", nod[ndx].gc_cont);
strcat(genes[i].gene_data, buffer);

Expand Down

0 comments on commit 120c779

Please sign in to comment.