Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Analyzing Data File #2

Open
BaltimoreBob opened this issue Jun 29, 2018 · 18 comments
Open

Error Analyzing Data File #2

BaltimoreBob opened this issue Jun 29, 2018 · 18 comments
Labels
question Further information is requested

Comments

@BaltimoreBob
Copy link

I have constructed a method and it runs fine and I can verify the MS3 data by hand, but when I go to analyze the data file in Companion I get an error saying “Error! Object reference not set to an instance of an object.” I have a complex User Mods table where I have to set the Nterm and K as variable but I believe it is set up alright. Can someone tell me what this error might be referring to? I am not sure if it is a bug or something in my method set up, but as I said the method is working I just can't analyze the data. I tried to paste the UserMods as a file but it didn't seem to work so I just pasted the text below. It is complicated but as I said it does work...
Thanks!

FALSE FALSE TMT0 224.1525 Static   K,NPep
FALSE FALSE TMT2 225.1583 Static   K,NPep
FALSE FALSE TMT10 229.1629 Static   K,NPep
FALSE FALSE TMTsh 235.1768 Static   K,NPep
TRUE TRUE CAM 57.02146 Static   C
FALSE FALSE NEM 125.0477 Static   C
TRUE TRUE OX 15.99491 Dynamic * M
TRUE TRUE Phos 79.96633 Dynamic # S,T,Y
FALSE FALSE Acetyl 42.01056 Dynamic @ NPep
FALSE FALSE gg 114.0429 Dynamic * K
FALSE FALSE ggTMT0 338.1954 Dynamic * K
FALSE FALSE ggTMT2 339.2012 Dynamic * K
FALSE FALSE ggTMT10 343.2058 Dynamic * K
FALSE FALSE ggTMTsh 349.2197 Dynamic * K
FALSE FALSE C2N1 3.004 Dynamic ^ G
FALSE FALSE C3N1 4.007 Dynamic # A
FALSE FALSE C5N1 6.0138 Dynamic & V,P
FALSE FALSE C6N1 7.0171 Dynamic @ I,L
FALSE FALSE C9N1 10.0272 Dynamic ^ F,Y
FALSE FALSE TMT10OL 229.1629 Dynamic $ S,T,Y,H
FALSE FALSE TMT_Nterm 229.1629 Static   NPep
TRUE TRUE Acetyl 42.01056 Dynamic @ K
FALSE TRUE TMT_K 229.1629 Dynamic $ K
TRUE TRUE Methyl 14.01565 Dynamic & K
TRUE TRUE DiMethyl 28.0313 Dynamic ^ R
FALSE FALSE TMT0NTerm 224.1525 Static   NPep
TRUE FALSE TMT0K 224.1525 Dynamic $ K
FALSE TRUE TMTDynNTerm 229.1629 Dynamic + NPep
TRUE FALSE aTMT0 266.1631 Dynamic ! NPep
FALSE TRUE aTMT10 271.1735 Dynamic ! NPep
TRUE FALSE TMT0DnyNTerm 224.1525 Dynamic + NPep
TRUE FALSE pTMT0NTerm 304.1188 Dynamic ~ NPep
FALSE TRUE pTMT10NTerm 309.1292 Dynamic ~ NPep
@CMRose3355
Copy link
Owner

Hello BaltimoreBob, do you get any other output from the program before the error is output? It looks like there is an object (probably a table) somewhere in the code that isn't being made. If we can figure out which step it failed at I can see if I can fix it.

@CMRose3355 CMRose3355 added the question Further information is requested label Jul 8, 2018
@BaltimoreBob
Copy link
Author

BaltimoreBob commented Jul 8, 2018 via email

@CMRose3355
Copy link
Owner

CMRose3355 commented Jul 9, 2018

Hello Bob,

Can you please download the new version (1.0.2.0) and before you try the analysis to go the "Advanced Parameters" tab and check the "Print Debugging Messages" box. I have placed some print statements within the code that should help us narrow this down.

Chris

@BaltimoreBob
Copy link
Author

BaltimoreBob commented Jul 9, 2018 via email

@BaltimoreBob
Copy link
Author

BaltimoreBob commented Jul 9, 2018 via email

@CMRose3355
Copy link
Owner

Yes, you can do the analysis on an offline computer. The automated method creation is the only feature that needs an instrument computer. All other functions should work on a offline computer.

@BaltimoreBob
Copy link
Author

BaltimoreBob commented Jul 9, 2018 via email

@CMRose3355
Copy link
Owner

I believe that this is related to the unzipping issue that is discussed on the other "issue" raised here.

Try that fix and see if the method can be made.

@BaltimoreBob
Copy link
Author

BaltimoreBob commented Jul 9, 2018 via email

@CMRose3355
Copy link
Owner

I believe that you mentioned the error was occurring during analysis of data. I would try to analyze the same data that was producing the error previously. I currently only placed messages within the code that does data analysis, and not the code that does method creation.

@BaltimoreBob
Copy link
Author

BaltimoreBob commented Jul 9, 2018 via email

@CMRose3355
Copy link
Owner

Ok I added in more messages to narrow it down a bit more. It appears that something is missing from the raw file. You can download the version I just published and try the analysis again.

One thing to look for is to make sure that scan 1555 is an MS2 than has an MS3 associated with it. You can also check the scan header to see if the fields for SPS ions are empty or not.

What version of Xcalibur and Tune are you running?

@BaltimoreBob
Copy link
Author

BaltimoreBob commented Jul 9, 2018 via email

@CMRose3355
Copy link
Owner

Hello Bob,

Please try the newest version again. The last trial helped be narrow in on the issue. There is a small chunk of code that could be the issue and hopefully the newest version will demonstrate where the error is.

@BaltimoreBob
Copy link
Author

BaltimoreBob commented Jul 9, 2018 via email

@BaltimoreBob
Copy link
Author

BaltimoreBob commented Jul 9, 2018 via email

@CMRose3355
Copy link
Owner

Yes, you will need MSFileReader including both 32 and 64 bit versions. I will need to send it via email as I don't know if I can host that here on GitHub.

@BaltimoreBob
Copy link
Author

BaltimoreBob commented Jul 12, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants