Coder Social home page Coder Social logo

chhh / batmass Goto Github PK

View Code? Open in Web Editor NEW
35.0 35.0 8.0 54.44 MB

Mass spectrometry data visualization

Home Page: https://batmass.org

License: Apache License 2.0

Java 94.99% Shell 0.43% HTML 4.34% CSS 0.25%
lc-ms mass-spectrometry mzml mzxml pepxml viewer visualization

batmass's Introduction

Hi 👋, I'm Dmitry Avtonomov

  • Original author of BatMass and FragPipe
  • Working in the field of mass spectrometry based :electron: 🔬 proteomics 🧬 🧫
  • ❤️ data visualisations.
  • My projects (with source code and publication links): https://dmtavt.com/project/

batmass's People

Contributors

chhh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

batmass's Issues

Batmass does not run under Ubuntu 18.04 with JDK 12

I installed BatMass v0.3.1 under Ubuntu 18.04 with the install script batmass-linux.sh. I've installed JDK 12. When I start the application the BatMass logo is shown in the center of the screen. But the application does not start.

BatMass for Mac

Hello Dmitry,
I installed the .dmg for MAC and followed your installer, but does not seem to open up?
My System OSX version 10.11.4 with 8 GB memory.
Java version j"1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode).

The older version was working fine/any suggestion?
BW,
Reza
P.S Nice work BTW

writing mgf or mzXML /mzML files

Is it possible to use BatMass to create mgf, mzXML, or mzML files? (I know we can read mzXML files.) If it is possible, do you have some test code or example code that we could follow? If it's not supported in the library, do you have any suggestions for libraries that do support writing mgf, mzXML, or mzML files in Java?

Problem with launching Batmass on Windows10

I had a problem launching batmass on the Windows 10

c:\Program Files (x86)\batmass\bin>ver

Microsoft Windows [Version 10.0.14393]

c:\Program Files (x86)\batmass\bin>java -version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) Client VM (build 25.131-b11, mixed mode)

c:\Program Files (x86)\batmass\bin>

The launcher has determined that the parent process has a console and will reuse it for its own console output.
Closing the console will result in termination of the running program.
Use '--console suppress' to suppress console output.
Use '--console new' to create a separate console window.
Invalid maximum heap size: -Xmx4G
The specified size exceeds the maximum representable size.

I removed the -J-Xmx4G from the batmass.conf, and it then launched.

I added the -Xmx4G as a run-time option to my Windows Java.

Batmass not lunching on Mac Sierra OS 10.12.5

Hello Dmitry,

Hope all is well, I download the latest version and successfully installed it on my machine, however it, does not lunch "The application "batmass" can't be opened". Any suggestion?

java version "1.8.0_112"
Java(TM) SE Runtime Environment (build 1.8.0_112-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.112-b16, mixed mode)

Reza

does not recognize mzrt.csv

I try to import features as mzrt.csv files but they are not recognised.
I'm on BatMass 201411181905, with Java 1.8.0_111 using a OSX 10.12.5

Batmass does not run on Ubuntu 18. illegal reflective operation

Trying to run Batmass on Ubuntu 18 gives the following errors:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/home/aaron/batmass/platform/lib/boot.jar) to field java.net.URL.handler
WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

In an effort to try and fix this, I updated the batmass.config to use the path to the directory of an older JDK (JDK 8) as $jdkhome. However, this does nothing and the program just fails silently. Is there some work around for this, or am I missing something completely (I could absolutely be misunderstanding what's going on!)?

Clean build of BatMass fails with three errors

I want to read CEF files using BatMass and as I understand, this functionality is not provided by default in BatMass. So I am going through this tutorial in order to be able to add the umich.ms.batmass.filesupport.files.types.agilent.cef.data module to BatMass in this way.

While going through this tutorial, I get stuck in the very last step, i.e. clean build BatMass. Clean build of MSFTBX, BatMassLibs, and BatMassExternalSuite are all successful, but when I try to Clean and Build BatMass, I get 3 errors:

Desktop\batmass-projects\batmass-master\FileSupport\src\umich\ms\batmass\filesupport\files\types\mzml\MzMLLCMSDataProvider.java:42: error: cannot access AbstractFile
LCMSData lcmsData = new LCMSData(lcmsDataSource, scans);
class file for umich.ms.util.file.AbstractFile not found

Desktop\batmass-projects\batmass-master\FileSupport\src\umich\ms\batmass\filesupport\files\types\pepxml\data\PepxmlFeature.java:53: error: incompatible types: possible lossy conversion from double to float
float dm = Math.abs(sh.getMassdiff());

Desktop\batmass-projects\batmass-master\FileSupport\src\umich\ms\batmass\filesupport\files\types\pepxml\providers\PepxmlFeaturesDataSource.java:54: error: incompatible types: Double cannot be converted to Float
Float rt = sum.getSpectrumQuery().get(0).getRetentionTimeSec();

Windows 10
NetBeans IDE 8.2
Java Version 8 Update 172 (build 1.8.0_172-b11)
jdk1.8.0_172
jre1.8.0_172

BatMass for Win

I am trying to install the BatMass on Win10 PC and am still getting "JVM creation failed". My PC has 16GB RAM, 64-bit OS, installed it non-system location and still, it does not work. Any advice on how to install it?
Martin

Cannot run Batmass on MacOS X 10.12.5

Hi,
I wanted to try Batmass, but I could not.
I installed Batmass (latest release). Installation did not lead to any error. After, I am not able to open the software in the application folder. Any idea why ?

Thank you,

screen shot 2017-08-04 at 2 48 06 pm

Linux command give an error message when batmass start

next installing batmass with ./batmass-linux.sh and run batmass executable .
Batmass start and the icon appears.
When the icon desappear, nothing happens.

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/home/ofilangi/batmass/platform/lib/boot.jar) to field java.net.URL.handler
WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

pep.xml files

Hi,

When I try to import and open pep.xml files I get this error massage.

umich.ms.batmass.data.core.api.DataLoadingException: Pep xml file had no retention time information.
at umich.ms.batmass.filesupport.files.types.pepxml.providers.PepxmlFeaturesDataSource.load(PepxmlFeaturesDataSource.java:56)
at umich.ms.batmass.filesupport.files.types.pepxml.providers.PepxmlFeaturesDataSource.load(PepxmlFeaturesDataSource.java:35)
at umich.ms.batmass.data.core.api.DataContainer.load(DataContainer.java:101)
at umich.ms.batmass.gui.viewers.featuretable.FeatureTableTopComponent$3.run(FeatureTableTopComponent.java:108)
at org.netbeans.modules.progress.ui.RunOffEDTImpl$3.run(RunOffEDTImpl.java:275)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)

How can I open to these files?

Thank you

could not load LC/MS data

Hi, I could not open a mzXML/mzML file, I can open it using openchrom or chemclipse, here is error message:
java.util.NoSuchElementException
at java.util.TreeMap.key(TreeMap.java:1327)
at java.util.TreeMap.firstKey(TreeMap.java:290)
at umich.ms.batmass.gui.viewers.spectrum.components.SpectraViewerComponent.(SpectraViewerComponent.java:115)
at umich.ms.batmass.gui.viewers.spectrum.SpectraViewerTopComponent.initSpectrumPanel(SpectraViewerTopComponent.java:157)
at umich.ms.batmass.gui.viewers.spectrum.SpectraViewerTopComponent.access$200(SpectraViewerTopComponent.java:64)
at umich.ms.batmass.gui.viewers.spectrum.SpectraViewerTopComponent$2.run(SpectraViewerTopComponent.java:115)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

mzID import

Hi,

I would like to import mzID data into batmass. should it be done the same way as pepXML or is there any parsing that should be done prior to that?

Thanks!
David.

Display custom data on MS 2 level

Hi there!

In your tutorial on project site there is a way how to overlap custom data from .mzrt.csv file with 2D map from .mzML file. Rectangles appear on MS1 level and when you switch to MS2 level they disappear. Is there any possibility to display them on MS2 level as well?

With respect,
Nikita

Spectra export

Hi there,

I was wondering if there is any possibility for export of spectra as e.g. svg or pdf? Is this feature planned?

Cheers,
Johannes

Problem using digits

Hello,
Great job on this tool !
I encounter a problem when I try to search for precise mass using digits, in the example windows it shows 'coma', and when I enter the separator, I can only use period, which returns an error (see below).

go to

Returned error :
information

Same with XIC :
image

which return full tic without subsetting anything.
I tried to change the system language settings to use period instead of coma, but it doesn't work.

JVM creation failed

I just downloaded Batmass on my Window7 computer, and when I run it I get the following error:

JVM creation failed

Any ideas?
Thanks
Alex

Directly reading Thermo .raw files

I saw that BatMass was thinking of being able to support direct reading of Thermo .raw files. Is this still true? If so, would it be possible to achieve this reasonably quickly/stably by calling the already-built Go library through Java (and some sort of Java-Go interface library)? (https://pkelchte.wordpress.com/2013/11/25/unthermo/ and https://godoc.org/bitbucket.org/proteinspector/ms/unthermo -- There's also probably a paper somehwere on this). Or, would it be easy to somehow convert the Go code to Java (to avoid the hard-to-debug library interface problems?)

If the above is happenning, would you also have any plans to do the same for Sciex .wiff files? (I know that Sciex has for the last two years provided unofficially a linux program that can convert their wiff files to XML (I think mzML, but it could be mzXML) so presumably there exists a way to write a nonWindows program to access their .wiff files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.