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
17496792
Commit
17496792
authored
15 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
all homol coords are forwards nows so fix up code for this.
parent
8fb66dae
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/zmapWindow/items/zmapWindowCollectionFeature.c
+25
-2
25 additions, 2 deletions
src/zmapWindow/items/zmapWindowCollectionFeature.c
with
25 additions
and
2 deletions
src/zmapWindow/items/zmapWindowCollectionFeature.c
+
25
−
2
View file @
17496792
...
...
@@ -27,9 +27,9 @@
*
* Exported functions: See XXXXXXXXXXXXX.h
* HISTORY:
* Last edited:
Jul 9 18:26
2009 (
rds
)
* Last edited:
Aug 28 09:12
2009 (
edgrif
)
* Created: Wed Dec 3 10:02:22 2008 (rds)
* CVS info: $Id: zmapWindowCollectionFeature.c,v 1.
8
2009-0
7-27 03:13:28 rds
Exp $
* CVS info: $Id: zmapWindowCollectionFeature.c,v 1.
9
2009-0
9-02 14:06:48 edgrif
Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -819,6 +819,12 @@ static gboolean first_match_incomplete(ZMapFeature curr_feature,
gboolean
incomplete
=
FALSE
;
int
query_seq_end
,
align_end
;
/* THIS NEEDS CHANGING TOOO.......y1 < y2 ALWAYS....FROM NOW ON.... */
#ifdef ED_G_NEVER_INCLUDE_THIS_CODE
if
(
curr_feature
->
feature
.
homol
.
y1
>
curr_feature
->
feature
.
homol
.
y2
)
{
if
(
revcomped_features
)
...
...
@@ -840,6 +846,8 @@ static gboolean first_match_incomplete(ZMapFeature curr_feature,
}
else
{
#endif
/* ED_G_NEVER_INCLUDE_THIS_CODE */
if
(
revcomped_features
)
{
query_seq_end
=
curr_feature
->
feature
.
homol
.
length
;
...
...
@@ -856,7 +864,11 @@ static gboolean first_match_incomplete(ZMapFeature curr_feature,
if
(
query_seq_end
<
align_end
)
incomplete
=
TRUE
;
}
#ifdef ED_G_NEVER_INCLUDE_THIS_CODE
}
#endif
/* ED_G_NEVER_INCLUDE_THIS_CODE */
return
incomplete
;
}
...
...
@@ -867,6 +879,11 @@ static gboolean last_match_incomplete(ZMapFeature prev_feature,
gboolean
incomplete
=
FALSE
;
int
query_seq_end
,
align_end
;
/* THIS NEEDS CHANGING TOO !!! */
#ifdef ED_G_NEVER_INCLUDE_THIS_CODE
if
(
prev_feature
->
feature
.
homol
.
y1
>
prev_feature
->
feature
.
homol
.
y2
)
{
if
(
revcomped_features
)
...
...
@@ -888,6 +905,8 @@ static gboolean last_match_incomplete(ZMapFeature prev_feature,
}
else
{
#endif
/* ED_G_NEVER_INCLUDE_THIS_CODE */
if
(
revcomped_features
)
{
query_seq_end
=
1
;
...
...
@@ -904,7 +923,11 @@ static gboolean last_match_incomplete(ZMapFeature prev_feature,
if
(
query_seq_end
>
align_end
)
incomplete
=
TRUE
;
}
#ifdef ED_G_NEVER_INCLUDE_THIS_CODE
}
#endif
/* ED_G_NEVER_INCLUDE_THIS_CODE */
return
incomplete
;
}
...
...
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