30
30
* Version Creation Date: 1/22/95
34
34
* File Description:
37
37
* --------------------------------------------------------------------------
38
38
* $Log: cdrgn.h,v $
39
* Revision 6.13 2008/01/17 21:18:09 bollin
40
* Fixes for RNA dialog for ncRNA product/class handling
42
* Revision 6.12 2007/12/21 17:30:27 bollin
43
* Changes to dialog for selecting ncRNA class and RNA type - allow ncRNA class
44
* Any if selecting RNA type in a constraint context, test dialog to generate
45
* error if "other" is the class but no text is specified.
47
* Revision 6.11 2007/11/26 21:16:29 bollin
48
* Moved CreatencRNAClassDialog proto into cdrgn.h
50
* Revision 6.10 2007/09/21 18:05:23 bollin
51
* code in place for conversion of old-style misc_RNA, snRNA, scRNA, and snoRNA
52
* features to new ncRNA features, commented out until changeover.
54
* Revision 6.9 2007/09/10 20:08:51 bollin
55
* Correction to MatchesRnaType
57
* Revision 6.8 2007/09/10 18:47:11 kans
58
* prototype for SetRnaSpecificQuals, cast for codon argument to ParseTRnaString
60
* Revision 6.7 2007/09/10 18:33:15 bollin
61
* Changes for new ncRNA and tmRNA class editor.
63
* Revision 6.6 2007/07/25 13:53:12 bollin
64
* Removed local copy of TruncateLocation from sequin3.c, made TruncateLocation
65
* function in desktop/cdrgn.c extern and added prototype to cdrgn.h
39
67
* Revision 6.5 2003/10/23 16:43:56 kans
40
68
* changed operon to import feature
90
118
Uint2 subtype, FormActnFunc actproc);
91
119
extern Int2 LIBCALLBACK RnaGenFunc (Pointer data);
121
extern void AddRnaSpecificQuals (SeqFeatPtr sfp, DialoG d);
122
extern void ConvertProductQualToRnaRefName (SeqFeatPtr sfp);
123
extern void SetRnaSpecificQuals (SeqFeatPtr sfp, DialoG d);
124
extern void ConvertToOldRNAFormat (SeqFeatPtr sfp);
126
extern SeqLocPtr TruncateLocation (SeqLocPtr head, Int4 len);
128
/* for searching for RNA values of a certain type */
129
typedef struct rnatype {
130
Int4 rna_featdef; /* use FEATDEF_ANY for match any RNA */
131
CharPtr ncrna_class; /* value to look for in ncrna_class qual */
132
} RnaTypeData, PNTR RnaTypePtr;
134
extern RnaTypePtr RnaTypeFree (RnaTypePtr rtp);
135
extern Boolean MatchesRnaType (SeqFeatPtr sfp, RnaTypePtr rtp);
136
extern void ApplyRnaTypeToSeqFeat (SeqFeatPtr sfp, RnaTypePtr rtp);
137
extern void ApplyProductToRNA (SeqFeatPtr sfp, CharPtr product);
138
extern void AddToComment (SeqFeatPtr sfp, CharPtr comment);
139
extern DialoG RnaTypeDialog (GrouP h, Boolean is_constraint, Nlm_ChangeNotifyProc change_notify, Pointer change_userdata);
140
extern DialoG CreatencRNAClassDialog (GrouP h, Boolean is_constraint, Nlm_ChangeNotifyProc change_notify, Pointer change_userdata);
94
142
#ifdef __cplusplus