Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
frangiPANe_snake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DIADE
frangiPANe_snake
Commits
0b9aeb50
Commit
0b9aeb50
authored
1 year ago
by
christine.tranchant_ird.fr
Browse files
Options
Downloads
Patches
Plain Diff
typage length
parent
55d7ac40
Branches
17-vecscreen
No related tags found
1 merge request
!1
Draft: Resolve "Vecscreen"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
frangiPANe/snakemake_scripts/vecscreen.py
+1
-1
1 addition, 1 deletion
frangiPANe/snakemake_scripts/vecscreen.py
with
1 addition
and
1 deletion
frangiPANe/snakemake_scripts/vecscreen.py
+
1
−
1
View file @
0b9aeb50
...
...
@@ -65,7 +65,7 @@ with open(os.path.join(output_fasta), "w") as o:
if
min_bounds
==
min_seq
+
1
:
min_seq
=
max_bounds
new_length
=
max_seq
-
max_bounds
if
new_length
>=
params_
length
:
if
new_length
>=
params_length
:
header_fields
=
str
(
seq
.
description
).
split
()
o
.
write
(
'
>
'
+
header_fields
[
0
]
+
"
"
+
str
(
new_length
)
+
"
"
+
"
"
.
join
(
header_fields
[
2
:])
+
'
\n
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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