Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
OBITools3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
14
Issues
14
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
OBITools
OBITools3
Commits
058f2ad8
Commit
058f2ad8
authored
Apr 27, 2020
by
Celine Mercier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ecopcr: fixed a bug where sequences were considered circular (generating
false positives)
parent
60bfd3ae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
version.py
python/obitools3/version.py
+1
-1
obi_ecopcr.c
src/obi_ecopcr.c
+3
-3
No files found.
python/obitools3/version.py
View file @
058f2ad8
major
=
3
minor
=
0
serial
=
'0-beta1
c
'
serial
=
'0-beta1
4d
'
version
=
"
%
d.
%02
d.
%
s"
%
(
major
,
minor
,
serial
)
src/obi_ecopcr.c
View file @
058f2ad8
...
...
@@ -1061,7 +1061,7 @@ int obi_ecopcr(const char* i_dms_name,
length
=
0
;
if
(
posj
>
posi
)
length
=
posj
-
posi
-
o1
->
patlen
-
o2
->
patlen
;
if
(
posj
<
posi
)
else
if
(
circular
>
0
)
length
=
posj
+
apatseq
->
seqlen
-
posi
-
o1
->
patlen
-
o2
->
patlen
;
if
((
length
>
0
)
&&
// For when primers touch or overlap
(
!
min_len
||
(
length
>=
min_len
))
&&
...
...
@@ -1151,7 +1151,7 @@ int obi_ecopcr(const char* i_dms_name,
length
=
0
;
if
(
posj
>
posi
)
length
=
posj
-
posi
+
1
-
o2
->
patlen
-
o1
->
patlen
;
/* - o1->patlen : deleted by <EC> (prior to the OBITools3) */
if
(
posj
<
posi
)
else
if
(
circular
>
0
)
length
=
posj
+
apatseq
->
seqlen
-
posi
-
o1
->
patlen
-
o2
->
patlen
;
if
((
length
>
0
)
&&
// For when primers touch or overlap
(
!
min_len
||
(
length
>=
min_len
))
&&
...
...
@@ -1232,7 +1232,7 @@ int obi_ecopcr(const char* i_dms_name,
return
-
1
;
}
fprintf
(
stderr
,
"
\r
Done : 100 %% "
);
fprintf
(
stderr
,
"
\r
Done : 100 %%
\n
"
);
return
0
;
return
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment