Skip to content

Commit

Permalink
update batmass-io for glycan parsing and fix residue print order
Browse files Browse the repository at this point in the history
  • Loading branch information
dpolasky committed Apr 29, 2024
1 parent f4a9a78 commit 7631c86
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
Binary file modified lib/batmass-io-1.32.5.jar
Binary file not shown.
9 changes: 1 addition & 8 deletions src/edu/umich/andykong/ptmshepherd/glyco/GlycoParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,13 @@
package edu.umich.andykong.ptmshepherd.glyco;

import edu.umich.andykong.ptmshepherd.PTMShepherd;
import edu.umich.andykong.ptmshepherd.peakpicker.PeakAnnotator;
import umich.ms.glyco.Glycan;
import umich.ms.glyco.GlycanMod;
import umich.ms.glyco.GlycanParser;
import umich.ms.glyco.GlycanResidue;

import java.io.*;
import java.lang.reflect.Array;
import java.net.URISyntaxException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
* Organization - putting a bunch of glyco-specific utilities here rather than cluttering the main PTM-S.java
Expand Down Expand Up @@ -82,6 +74,7 @@ public GlycoParams(String glycanResiduesPath, String glycanModsPath, String oxon
}
glycanResiduesMap.putAll(modsMap);
glycanResidues = new ArrayList<>(glycanResiduesMap.values());
glycanResidues.sort(GlycanResidue::compareTo);

glycoOxoniumDatabase = GlycoAnalysis.parseOxoniumDatabase(oxoniumListPath, this);
}
Expand Down

0 comments on commit 7631c86

Please sign in to comment.