Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
i2MassChroQ
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Mise à jour de sécurité de Gitlab Jeudi 24 Avril entre 21h00 et 22h00
Show more breadcrumbs
PAPPSO
i2MassChroQ
Commits
35f4cfdc
Commit
35f4cfdc
authored
11 years ago
by
Olivier Langella
Browse files
Options
Downloads
Patches
Plain Diff
fix mhplus mass
parent
45ee698a
No related branches found
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
lib/libproteomicsvg.jar
+0
-0
0 additions, 0 deletions
lib/libproteomicsvg.jar
src/fr/inra/pappso/xtandempipeline/Utils.java
+10
-4
10 additions, 4 deletions
src/fr/inra/pappso/xtandempipeline/Utils.java
with
10 additions
and
4 deletions
lib/libproteomicsvg.jar
+
0
−
0
View file @
35f4cfdc
No preview for this file type
This diff is collapsed.
Click to expand it.
src/fr/inra/pappso/xtandempipeline/Utils.java
+
10
−
4
View file @
35f4cfdc
...
...
@@ -36,12 +36,18 @@ public class Utils {
private
static
final
Logger
logger
=
Logger
.
getLogger
(
Utils
.
class
);
/*
* m(1H)
= 1.00727646677 u = mass of proton; charge +1
m(1H+e-) = 1.00782504
u = mass of proton + mass of electron
* m(1H) = 1.00727646677 u = mass of proton; charge +1
m(1H+e-) = 1.00782504
*
u = mass of proton + mass of electron
*/
public
static
double
mhplus
=
(
float
)
1.007
825
;
public
static
double
mhplus
=
(
double
)
1.007
27646677
;
public
static
double
onemillion
=
(
float
)
1000000
;
/*
*
* Monoisotopic mass from : http://www.unimod.org/masses.html 1.007825035
*/
public
static
double
mhelectron
=
(
double
)
1.007825035
;
public
static
double
onemillion
=
(
double
)
1000000
;
static
private
String
getPappsoGroupingId
(
Integer
num
)
{
int
size
=
(
int
)
java
.
lang
.
Math
.
log10
(
num
);
...
...
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