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
4368083c
Commit
4368083c
authored
17 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
add id of clone that homol matched to.
parent
fa14506d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/include/ZMap/zmapFeature.h
+6
-2
6 additions, 2 deletions
src/include/ZMap/zmapFeature.h
src/zmapFeature/zmapFeature.c
+9
-2
9 additions, 2 deletions
src/zmapFeature/zmapFeature.c
with
15 additions
and
4 deletions
src/include/ZMap/zmapFeature.h
+
6
−
2
View file @
4368083c
...
...
@@ -25,9 +25,9 @@
* Description: Data structures describing a sequence feature.
*
* HISTORY:
* Last edited: Feb
14 14:10
2008 (edgrif)
* Last edited: Feb
21 12:49
2008 (edgrif)
* Created: Fri Jun 11 08:37:19 2004 (edgrif)
* CVS info: $Id: zmapFeature.h,v 1.13
7
2008-02-1
4
15:
11:32
edgrif Exp $
* CVS info: $Id: zmapFeature.h,v 1.13
8
2008-02-
2
1 15:
40:10
edgrif Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_FEATURE_H
...
...
@@ -333,6 +333,7 @@ typedef struct
int
length
;
/* Length of homol/align etc. */
GQuark
clone_id
;
/* Clone this match is aligned to. */
/* This is all changing now.... */
/* Because we don't have a strand in this struct these can be in reverse order, we should NOT do
...
...
@@ -356,6 +357,8 @@ typedef struct
unsigned
int
has_sequence
:
1
;
/* This homology has sequence in the database. */
unsigned
int
has_clone_id
:
1
;
/* This homol feature is matched to this clone. */
}
flags
;
}
ZMapHomolStruct
,
*
ZMapHomol
;
...
...
@@ -594,6 +597,7 @@ gboolean zMapFeatureAddTranscriptExonIntron(ZMapFeature feature,
ZMapSpanStruct
*
exon
,
ZMapSpanStruct
*
intron
)
;
void
zMapFeatureTranscriptExonForeach
(
ZMapFeature
feature
,
GFunc
function
,
gpointer
user_data
);
gboolean
zMapFeatureAddAlignmentData
(
ZMapFeature
feature
,
GQuark
clone_id
,
int
query_start
,
int
query_end
,
ZMapHomolType
homol_type
,
int
query_length
,
...
...
This diff is collapsed.
Click to expand it.
src/zmapFeature/zmapFeature.c
+
9
−
2
View file @
4368083c
...
...
@@ -27,9 +27,9 @@
*
* Exported functions: See zmapView_P.h
* HISTORY:
* Last edited: Feb 2
0
1
4:19
2008 (edgrif)
* Last edited: Feb 2
1
1
2:33
2008 (edgrif)
* Created: Fri Jul 16 13:05:58 2004 (edgrif)
* CVS info: $Id: zmapFeature.c,v 1.8
7
2008-02-2
0
1
4:19:37
edgrif Exp $
* CVS info: $Id: zmapFeature.c,v 1.8
8
2008-02-2
1
1
5:40:10
edgrif Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -765,6 +765,7 @@ gboolean zMapFeatureAddSplice(ZMapFeature feature, ZMapBoundaryType boundary)
* Adds homology data to a feature which may be empty or may already have partial features.
* */
gboolean
zMapFeatureAddAlignmentData
(
ZMapFeature
feature
,
GQuark
clone_id
,
int
query_start
,
int
query_end
,
ZMapHomolType
homol_type
,
int
query_length
,
...
...
@@ -777,6 +778,12 @@ gboolean zMapFeatureAddAlignmentData(ZMapFeature feature,
zMapAssert
(
feature
&&
feature
->
type
==
ZMAPSTYLE_MODE_ALIGNMENT
)
;
if
(
clone_id
)
{
feature
->
feature
.
homol
.
flags
.
has_clone_id
=
TRUE
;
feature
->
feature
.
homol
.
clone_id
=
clone_id
;
}
feature
->
feature
.
homol
.
type
=
homol_type
;
feature
->
feature
.
homol
.
strand
=
query_strand
;
feature
->
feature
.
homol
.
target_phase
=
target_phase
;
...
...
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