Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
3329fc0f
Commit
3329fc0f
authored
16 years ago
by
rds
Browse files
Options
Downloads
Patches
Plain Diff
Dumping code
parent
1a674162
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/include/ZMap/zmapFeature.h
+24
-26
24 additions, 26 deletions
src/include/ZMap/zmapFeature.h
src/include/ZMap/zmapGFF.h
+3
-5
3 additions, 5 deletions
src/include/ZMap/zmapGFF.h
src/lib/Makefile.am
+1
-0
1 addition, 0 deletions
src/lib/Makefile.am
with
28 additions
and
31 deletions
src/include/ZMap/zmapFeature.h
+
24
−
26
View file @
3329fc0f
...
...
@@ -25,9 +25,9 @@
* Description: Data structures describing a sequence feature.
*
* HISTORY:
* Last edited:
Oct 14 13:58
2008 (
edgrif
)
* Last edited:
Nov 5 12:03
2008 (
rds
)
* Created: Fri Jun 11 08:37:19 2004 (edgrif)
* CVS info: $Id: zmapFeature.h,v 1.14
6
2008-1
0-29 16:20:47 edgrif
Exp $
* CVS info: $Id: zmapFeature.h,v 1.14
7
2008-1
1-05 12:12:36 rds
Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_FEATURE_H
...
...
@@ -111,6 +111,11 @@ typedef enum {ZMAPSEQUENCE_NONE = 0, ZMAPSEQUENCE_DNA, ZMAPSEQUENCE_PEPTIDE} ZMa
typedef
enum
{
ZMAPFEATURELENGTH_TARGET
,
ZMAPFEATURELENGTH_QUERY
,
ZMAPFEATURELENGTH_SPLICED
}
ZMapFeatureLengthType
;
typedef
enum
{
ZMAPFEATURE_DUMP_NO_FUNCTION
,
ZMAPFEATURE_DUMP_UNKNOWN_FEATURE_TYPE
}
ZMapFeatureDumpError
;
/* Holds dna or peptide.
* Note that the sequence will be a valid string in that it will be null-terminated,
...
...
@@ -542,24 +547,10 @@ typedef ZMapFeatureContextExecuteStatus (*ZMapGDataRecurseFunc)(GQuark key_id,
gpointer
user_data
,
char
**
error
);
/* Callback function for calls to zMapFeatureDumpFeatures(), caller can use this function to
* format features in any way they want. */
typedef
gboolean
(
*
ZMapFeatureDumpFeatureCallbackFunc
)(
GIOChannel
*
file
,
gpointer
user_data
,
ZMapFeatureTypeStyle
style
,
char
*
parent_name
,
char
*
feature_name
,
char
*
style_name
,
char
*
ontology
,
int
x1
,
int
x2
,
gboolean
has_score
,
float
score
,
ZMapStrand
strand
,
ZMapPhase
phase
,
ZMapStyleMode
feature_type
,
gpointer
feature_data
,
GError
**
error_out
)
;
typedef
gboolean
(
*
ZMapFeatureDumpFeatureFunc
)(
ZMapFeatureAny
feature_any
,
GString
*
dump_string_in_out
,
GError
**
error
,
gpointer
user_data
);
/* FeatureAny funcs. */
...
...
@@ -794,12 +785,19 @@ gboolean zMapSetListEqualStyles(GList **feature_set_names, GList **styles) ;
/* Probably should be merged at some time.... */
gboolean
zMapFeatureDumpStdOutFeatures
(
ZMapFeatureContext
feature_context
,
GError
**
error_out
)
;
gboolean
zMapFeatureContextDump
(
GIOChannel
*
file
,
ZMapFeatureContext
feature_context
,
GError
**
error_out
)
;
gboolean
zMapFeatureDumpFeatures
(
GIOChannel
*
file
,
ZMapFeatureAny
dump_set
,
ZMapFeatureDumpFeatureCallbackFunc
dump_func
,
gpointer
user_data
,
GError
**
error
)
;
gboolean
zMapFeatureContextDump
(
ZMapFeatureContext
feature_context
,
GIOChannel
*
file
,
GError
**
error_out
)
;
gboolean
zMapFeatureContextDumpToFile
(
ZMapFeatureAny
feature_any
,
ZMapFeatureDumpFeatureFunc
dump_func
,
gpointer
dump_user_data
,
GIOChannel
*
dump_file
,
GError
**
dump_error_out
);
gboolean
zMapFeatureListDumpToFile
(
GList
*
feature_list
,
ZMapFeatureDumpFeatureFunc
dump_func
,
gpointer
dump_user_data
,
GIOChannel
*
dump_file
,
GError
**
dump_error_out
);
gboolean
zMapFeatureGetFeatureListExtent
(
GList
*
feature_list
,
int
*
start_out
,
int
*
end_out
);
...
...
This diff is collapsed.
Click to expand it.
src/include/ZMap/zmapGFF.h
+
3
−
5
View file @
3329fc0f
...
...
@@ -28,9 +28,9 @@
* of ZMapFeatureStruct's, one for each GFF source.
*
* HISTORY:
* Last edited:
Oct 17 14:14
2008 (
edgrif
)
* Last edited:
Nov 4 09:49
2008 (
rds
)
* Created: Sat May 29 13:18:32 2004 (edgrif)
* CVS info: $Id: zmapGFF.h,v 1.1
3
2008-1
0-29 16:09:38 edgrif
Exp $
* CVS info: $Id: zmapGFF.h,v 1.1
4
2008-1
1-05 12:12:44 rds
Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_GFF_H
...
...
@@ -88,8 +88,6 @@ gboolean zMapGFFTerminated(ZMapGFFParser parser) ;
void
zMapGFFSetFreeOnDestroy
(
ZMapGFFParser
parser
,
gboolean
free_on_destroy
)
;
void
zMapGFFDestroyParser
(
ZMapGFFParser
parser
)
;
gboolean
zMapGFFDump
(
GIOChannel
*
file
,
ZMapFeatureBlock
feature_block
,
GError
**
error_out
)
;
gboolean
zMapGFFDump
(
ZMapFeatureAny
dump_set
,
GIOChannel
*
file
,
GError
**
error_out
);
#endif
/* ZMAP_GFF_H */
This diff is collapsed.
Click to expand it.
src/lib/Makefile.am
+
1
−
0
View file @
3329fc0f
...
...
@@ -67,6 +67,7 @@ $(top_srcdir)/zmapFeature/zmapFeature.c \
$(
top_srcdir
)
/zmapFeature/zmapFeatureContext.c
\
$(
top_srcdir
)
/zmapFeature/zmapFeatureContextUtils.c
\
$(
top_srcdir
)
/zmapFeature/zmapFeatureFormatInput.c
\
$(
top_srcdir
)
/zmapFeature/zmapFeatureOutput.c
\
$(
top_srcdir
)
/zmapFeature/zmapFeatureTypes.c
\
$(
top_srcdir
)
/zmapFeature/zmapFeatureUtils.c
\
$(
top_srcdir
)
/zmapFeature/zmapFeatureXML.c
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment