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
bce5b869
Commit
bce5b869
authored
18 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
add align error field, allows slop factor for gapped aligns for perfect match.
parent
fe527b6f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/include/ZMap/zmapFeature.h
+26
-12
26 additions, 12 deletions
src/include/ZMap/zmapFeature.h
with
26 additions
and
12 deletions
src/include/ZMap/zmapFeature.h
+
26
−
12
View file @
bce5b869
...
...
@@ -25,19 +25,19 @@
* Description: Data structures describing a sequence feature.
*
* HISTORY:
* Last edited: Nov
6 11:46
2006 (
rds
)
* Last edited: Nov
7 09:00
2006 (
edgrif
)
* Created: Fri Jun 11 08:37:19 2004 (edgrif)
* CVS info: $Id: zmapFeature.h,v 1.9
4
2006-11-0
6
11:
47:53 rds
Exp $
* CVS info: $Id: zmapFeature.h,v 1.9
5
2006-11-0
7
11:
55:39 edgrif
Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_FEATURE_H
#define ZMAP_FEATURE_H
#include
<gdk/gdkcolor.h>
#include
<ZMap/zmapConfigStyleDefaults.h>
#include
<ZMap/zmapXML.h>
/* We use GQuarks to give each feature a unique id, the documentation doesn't say, but you
* can surmise from the code that zero is not a valid quark. */
enum
{
ZMAPFEATURE_NULLQUARK
=
0
}
;
...
...
@@ -311,11 +311,27 @@ typedef struct
ZMapStrand
target_strand
;
ZMapPhase
target_phase
;
/* for tx_homol */
GArray
*
align
;
/* of AlignBlock, if null, align is ungapped. */
struct
{
unsigned
int
perfect
:
1
;
/* If align != NULL and perfect == TRUE
then gaps array is a "perfect"
alignment within style specified
slop factor. */
}
flags
;
}
ZMapHomolStruct
,
*
ZMapHomol
;
typedef
struct
{
/* If cds == TRUE, then these must show the position of the cds in sequence coords... */
Coord
cds_start
,
cds_end
;
ZMapPhase
start_phase
;
GArray
*
exons
;
/* Of ZMapSpanStruct. */
GArray
*
introns
;
/* Of ZMapSpanStruct. */
struct
{
unsigned
int
cds
:
1
;
...
...
@@ -323,12 +339,6 @@ typedef struct
unsigned
int
end_not_found
:
1
;
}
flags
;
/* If cds == TRUE, then these must show the position of the cds in sequence coords... */
Coord
cds_start
,
cds_end
;
ZMapPhase
start_phase
;
GArray
*
exons
;
/* Of ZMapSpanStruct. */
GArray
*
introns
;
/* Of ZMapSpanStruct. */
}
ZMapTranscriptStruct
,
*
ZMapTranscript
;
...
...
@@ -546,6 +556,11 @@ typedef struct ZMapFeatureTypeStyleStruct_
have scores. */
double
min_score
,
max_score
;
/* Min/max for score width calc. */
unsigned
int
align_error
;
/* Number of missing bases allowed in
alignment for a "perfect"
alignment, default = 0. */
/* GFF feature dumping, allows specifying of source/feature types independently of feature
* attributes. */
GQuark
gff_source
;
...
...
@@ -745,9 +760,8 @@ void zMapStyleSetHide(ZMapFeatureTypeStyle style, gboolean hide) ;
void
zMapStyleSetHideInitial
(
ZMapFeatureTypeStyle
style
,
gboolean
hide_initially
)
;
gboolean
zMapStyleGetHideInitial
(
ZMapFeatureTypeStyle
style
)
;
void
zMapStyleSetEndStyle
(
ZMapFeatureTypeStyle
style
,
gboolean
directional
)
;
void
zMapStyleSetGappedAligns
(
ZMapFeatureTypeStyle
style
,
gboolean
show_gaps
,
gboolean
parse_gaps
)
;
void
zMapStyleSetGappedAligns
(
ZMapFeatureTypeStyle
style
,
gboolean
show_gaps
,
gboolean
parse_gaps
,
unsigned
int
align_error
)
;
char
*
zMapStyleCreateName
(
char
*
style_name
)
;
GQuark
zMapStyleCreateID
(
char
*
style_name
)
;
char
*
zMapStyleGetName
(
ZMapFeatureTypeStyle
style
)
;
...
...
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