(
void);
57arg_desc->AddKey(
"protein",
"proteinSeqEntryID",
58 "Seq-id of the protein",
60arg_desc->AddKey(
"genomic",
"genomicSeqEntryID",
61 "Seq-id of the genomic sequence",
63arg_desc->AddKey(
"start",
"start",
64 "genomic region start",
66arg_desc->AddKey(
"stop",
"stop",
67 "genomic region stop",
70arg_desc->AddFlag(
"t",
"produce alignment text");
73 stringprog_description =
"Example of the ProSplign usage\n";
74arg_desc->SetUsageContext(
GetArguments().GetProgramBasename(),
75prog_description,
false);
77arg_desc->AddFlag(
"no_introns",
"alignment without introns");
107 CSeq_idprotein(args[
"protein"].AsString());
108 CSeq_idgenomic(args[
"genomic"].AsString());
129 int main(
intargc,
const char* argv[])
static TRegisterLoaderInfo RegisterInObjectManager(CObjectManager &om, CReader *reader=0, CObjectManager::EIsDefault is_default=CObjectManager::eDefault, CObjectManager::TPriority priority=CObjectManager::kPriority_NotSet)
virtual int Run()
Run the application.
virtual void Init(void)
Initialize the application.
Output filtering parameters.
static void SetupArgDescriptions(CArgDescriptions *argdescr)
static void SetupArgDescriptions(CArgDescriptions *argdescr)
static void Output(const objects::CSeq_align &seqalign, objects::CScope &scope, ostream &out, int width, const string &matrix_name="BLOSUM62")
Outputs formatted text.
spliced protein to genomic alignment
CRef< objects::CSeq_align > FindAlignment(objects::CScope &scope, const objects::CSeq_id &protein, const objects::CSeq_loc &genomic, CProSplignOutputOptions output_options=CProSplignOutputOptions())
Aligns protein to a region on genomic sequence.
virtual const CArgs & GetArgs(void) const
Get parsed command line arguments.
int AppMain(int argc, const char *const *argv, const char *const *envp=0, EAppDiagStream diag=eDS_Default, const char *conf=NcbiEmptyCStr, const string &name=NcbiEmptyString)
Main function (entry point) for the NCBI application.
virtual void SetupArgDescriptions(CArgDescriptions *arg_desc)
Setup the command line argument descriptions.
const CNcbiArguments & GetArguments(void) const
Get the application's cached unprocessed command-line arguments.
@ eString
An arbitrary string.
@ eInteger
Convertible into an integer number (int or Int8)
#define MSerial_AsnText
I/O stream manipulators â.
static CRef< CObjectManager > GetInstance(void)
Return the existing object manager or create one.
void AddDefaults(TPriority pri=kPriority_Default)
Add default data loaders from object manager.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define USING_SCOPE(ns)
Use the specified namespace.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Defines the CNcbiApplication and CAppException classes for creating NCBI applications.
int main(int argc, const char *argv[])
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4