file_formats_msa.h
Go to the documentation of this file.
#ifndef VIENNA_RNA_PACKAGE_FILE_FORMATS_MSA_H
#define VIENNA_RNA_PACKAGE_FILE_FORMATS_MSA_H
#include <stdio.h>
#define VRNA_FILE_FORMAT_MSA_CLUSTAL 1U
#define VRNA_FILE_FORMAT_MSA_STOCKHOLM 2U
#define VRNA_FILE_FORMAT_MSA_FASTA 4U
#define VRNA_FILE_FORMAT_MSA_MAF 8U
#define VRNA_FILE_FORMAT_MSA_DEFAULT ( \
VRNA_FILE_FORMAT_MSA_CLUSTAL \
| VRNA_FILE_FORMAT_MSA_STOCKHOLM \
| VRNA_FILE_FORMAT_MSA_FASTA \
| VRNA_FILE_FORMAT_MSA_MAF \
)
#define VRNA_FILE_FORMAT_MSA_NOCHECK 4096U
#define VRNA_FILE_FORMAT_MSA_UNKNOWN 8192U
int
vrna_file_msa_read( const char *filename,
char ***names,
char ***aln,
char **id,
char **structure,
unsigned int options);
int
vrna_file_msa_read_record(FILE *fp,
char ***names,
char ***aln,
char **id,
char **structure,
unsigned int options);
unsigned int
vrna_file_msa_detect_format(const char *filename,
unsigned int options);
#endif
vrna_file_msa_detect_format
unsigned int vrna_file_msa_detect_format(const char *filename, unsigned int options)
Detect the format of a multiple sequence alignment file.
vrna_file_msa_read
int vrna_file_msa_read(const char *filename, char ***names, char ***aln, char **id, char **structure, unsigned int options)
Read a multiple sequence alignment from file.
vrna_file_msa_read_record
int vrna_file_msa_read_record(FILE *fp, char ***names, char ***aln, char **id, char **structure, unsigned int options)
Read a multiple sequence alignment from file handle.