Code Monkey home page Code Monkey logo

Comments (4)

kaibioinfo avatar kaibioinfo commented on June 13, 2024 2

it's a sparse array, every 2 bytes encode the index of a set position, big endian. A -1 encodes the end of a candidate fingerprint.

from sirius.

jackhu-bme avatar jackhu-bme commented on June 13, 2024

Same question as you/

from sirius.

jackhu-bme avatar jackhu-bme commented on June 13, 2024

Thanks for your reply! @kaibioinfo
This one worked for my SIRIUS4.4 Linux version output workspace for some of my past results, I sincerely thank you for this!
However, as my previous install using SIRIUS in the docker image provided by repo https://github.com/meowcat/MSNovelist encountered the issue of meowcat/MSNovelist#9, I switched to GUI install of SIRIUS 5.5.1 on windows. From the issue, I heard that the server is down, but the GUI install is still fine and could produce probability fingerprints of mgf files, which are essential to my projects. However, the GUI install could not provide the output of all the fingerprints(I see only a small part of them could be exported using the summary option), and there is another binary file "fingerprint" when I click "save as" and save the "SIRIUS projects". When my input file is named A.ms, the path of the binary file is "${directory_i_clicked}/A/fingerprints". This binary file takes disk space of 38KB for my example and is likely to have all the info I needed for fingerprints of A.ms. However, I could not parse it using python, as I can not guess the format and how it is encoded. Could you please give me some suggestions when you are available? Like what do the bytes encode?
Thanks a lot for your reply. As these fingerprints are closely related to my bachelor graduation project(ddl is in May), this is essential and I can hardly wait till the back online of the SIRIUS server as the date is still unknown to me.

from sirius.

jackhu-bme avatar jackhu-bme commented on June 13, 2024

Well, it turns out to be something easy.
Just rename the binary file to "fingerprint.zip" and decompress it, then the .fps file which is a text file turns out to be fingerprints needed.

Thanks for your reply! @kaibioinfo This one worked for my SIRIUS4.4 Linux version output workspace for some of my past results, I sincerely thank you for this! However, as my previous install using SIRIUS in the docker image provided by repo https://github.com/meowcat/MSNovelist encountered the issue of meowcat/MSNovelist#9, I switched to GUI install of SIRIUS 5.5.1 on windows. From the issue, I heard that the server is down, but the GUI install is still fine and could produce probability fingerprints of mgf files, which are essential to my projects. However, the GUI install could not provide the output of all the fingerprints(I see only a small part of them could be exported using the summary option), and there is another binary file "fingerprint" when I click "save as" and save the "SIRIUS projects". When my input file is named A.ms, the path of the binary file is "${directory_i_clicked}/A/fingerprints". This binary file takes disk space of 38KB for my example and is likely to have all the info I needed for fingerprints of A.ms. However, I could not parse it using python, as I can not guess the format and how it is encoded. Could you please give me some suggestions when you are available? Like what do the bytes encode? Thanks a lot for your reply. As these fingerprints are closely related to my bachelor graduation project(ddl is in May), this is essential and I can hardly wait till the back online of the SIRIUS server as the date is still unknown to me.

from sirius.

Related Issues (20)

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.