mathiaskalxdorf / IceR

Quantitative proteomics workflow
https://mathiaskalxdorf.github.io/IceR/
14 stars 4 forks source link

Error in [: incorrect number of dimensions #8

Closed fgarciacnio closed 3 years ago

fgarciacnio commented 3 years ago

I tried to Run iceR in windows with two thermo .raw. The process seems to work fine until saving quantification results after alignement scoring and filter. Then, the programs stops with a warning. 1] "20210829_QC02_HEK_01 - FDR of peak selection: 0.6 %" [1] "20210830_QC02_HEK_01 - FDR of peak selection: 0.6 %" [1] "Save quantification results after alignment scoring" [1] "Removed 692 isotope features (3.1 %) as they dont show significant ion accumulation in any sample." [1] "Removed 120 (72 isotope) features from quantification results due to too high variability in alignment between samples." [1] "20210829_QC02_HEK_01: Removed 0 (0 isotope) quantifications (0 %) due to uncertain peak selection" [1] "20210830_QC02_HEK_01: Removed 0 (0 isotope) quantifications (0 %) due to uncertain peak selection" [1] "20210829_QC02_HEK_01: Removed 1988 isotope quantifications (3.9 %) due to discrepancy in peak selection between mono-/+1-isotope features" [1] "20210830_QC02_HEK_01: Removed 1920 isotope quantifications (3.7 %) due to discrepancy in peak selection between mono-/+1-isotope features" [1] "Quantification without imputation: 5.9 % missing values" [1] "Quantification with imputation: 3.8 % missing values" [1] "Save quantification results after alignment scoring and filter" Warning: Error in [: incorrect number of dimensions 2: shiny::runApp 1: runIceR Some advise? Thanks in advance

mathiaskalxdorf commented 3 years ago

Hey, that looks like an error which should not happen. If I see it correctly, then you are using here IceR for 2 samples, right? As the error is difficult to spot in the code without more details, would it be possible for you to upload the two raw files + your MaxQuant txt-folder somewhere so that I can try to reproduce this error on my side? This would allow me to spot the error and hopefully fix it soon. Thanks a lot and best regards, Mathias

fgarciacnio commented 3 years ago

Hi Matthias. Thank you very much for your help. Both files are our QC standard (1 ug HEK extract) run in a QExactive-HF I can upload the zipped maxquant output and the two raw files via wetransfer. If you are not able to access to them ,I can also upload them to our institutional onedrive as you prefer. Best regards Fernando

From: mathiaskalxdorf @.> Sent: 08 September 2021 13:56 To: mathiaskalxdorf/IceR @.> Cc: García.Fernando @.>; Author @.> Subject: Re: [mathiaskalxdorf/IceR] Error in [: incorrect number of dimensions (#8)

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe

Hey, that looks like an error which should not happen. If I see it correctly, then you are using here IceR for 2 samples, right? As the error is difficult to spot in the code without more details, would it be possible for you to upload the two raw files + your MaxQuant txt-folder somewhere so that I can try to reproduce this error on my side? This would allow me to spot the error and hopefully fix it soon. Thanks a lot and best regards, Mathias

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mathiaskalxdorf/IceR/issues/8#issuecomment-915169170, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVRCY3JXZE53J5M44VSVYFTUA5FLZANCNFSM5DUN3JDA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

ADVERTENCIA LEGAL: Este correo electrónico, y en su caso los ficheros adjuntos, pueden contener información protegida para el uso exclusivo de su destinatario. Se prohíbe la distribución, reproducción o cualquier otro tipo de transmisión por parte de otra persona que no sea el destinatario. Si usted recibe por error este correo, se ruega comunicarlo al remitente y borrar el mensaje recibido. De conformidad con lo dispuesto en el Reglamento (UE) 2016/679 relativo a la protección de los datos personales de las personas físicas, la información personal que nos pueda facilitar a través de este correo electrónico quedará registrada por la Fundación CNIO con la finalidad de tramitar el objeto del presente correo electrónico. El tratamiento de sus datos personales se encuentra legitimado por ser necesario para gestionar el objeto del presente mensaje. Estos datos personales no serán comunicados a ningún destinatario salvo a aquellos que usted nos autorice o así venga exigido por una ley. Ud. podrá ejercer los derechos de acceso, rectificación, supresión, limitación de tratamiento, portabilidad y oposición en la siguiente dirección: c/Melchor Fernandez Almagro 3, 28029 (Madrid). Podrá ponerse en contacto con el Delegado de Protección de Datos en: @.*** Para el caso de que Ud. precise conocer información adicional sobre el tratamiento de sus datos personales, puede consultar dicha información adicional en el siguiente enlace dentro de nuestra página web: https://www.cnio.es/es/privacidad/index.asp

LEGAL NOTICE: This email and any attached files may contain protected information for the sole use of its intended recipient or addressee. Anyone other than the intended recipient or addressee is strictly prohibited from distributing, reproducing or transmitting the email and its contents in any way. If you receive this email in error, please notify the sender and delete the message. Pursuant to the provisions of EU Regulation 2016/679 regarding the protection of personal data, any personal information you provide through this email will be registered by the CNIO Foundation in order to deal with content of this email. Your personal data must be processed in order to be able to deal with the content and purpose of this message. Your personal details will not be passed on to anyone else unless you authorise us to do so or we are required to do so by law. You may exercise your rights regarding access, rectification, suppression, limitation of processing, portability and opposition by writing to the following address: c/Melchor Fernandez Almagro 3, 28029 (Madrid). You may contact the Data Protection Delegate (Delegado de Protección de Datos) at: @.*** If you require further information about the processing of your personal data, go to the following link on our webpage: https://www.cnio.es/es/privacidad/index.asp

mathiaskalxdorf commented 3 years ago

Both should be fine, although I never used wetransfer yet. Maybe it works easiest via a onedrive link.

fgarciacnio commented 3 years ago

Done! Let me know if you can access to the files. Fernando

From: mathiaskalxdorf @.> Sent: 08 September 2021 14:13 To: mathiaskalxdorf/IceR @.> Cc: García.Fernando @.>; Author @.> Subject: Re: [mathiaskalxdorf/IceR] Error in [: incorrect number of dimensions (#8)

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe

Both should be fine, although I never used wetransfer yet. Maybe it works easiest via a onedrive link.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mathiaskalxdorf/IceR/issues/8#issuecomment-915180241, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVRCY3KZWBKK5JQ7ACCXLF3UA5HNHANCNFSM5DUN3JDA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

ADVERTENCIA LEGAL: Este correo electrónico, y en su caso los ficheros adjuntos, pueden contener información protegida para el uso exclusivo de su destinatario. Se prohíbe la distribución, reproducción o cualquier otro tipo de transmisión por parte de otra persona que no sea el destinatario. Si usted recibe por error este correo, se ruega comunicarlo al remitente y borrar el mensaje recibido. De conformidad con lo dispuesto en el Reglamento (UE) 2016/679 relativo a la protección de los datos personales de las personas físicas, la información personal que nos pueda facilitar a través de este correo electrónico quedará registrada por la Fundación CNIO con la finalidad de tramitar el objeto del presente correo electrónico. El tratamiento de sus datos personales se encuentra legitimado por ser necesario para gestionar el objeto del presente mensaje. Estos datos personales no serán comunicados a ningún destinatario salvo a aquellos que usted nos autorice o así venga exigido por una ley. Ud. podrá ejercer los derechos de acceso, rectificación, supresión, limitación de tratamiento, portabilidad y oposición en la siguiente dirección: c/Melchor Fernandez Almagro 3, 28029 (Madrid). Podrá ponerse en contacto con el Delegado de Protección de Datos en: @.*** Para el caso de que Ud. precise conocer información adicional sobre el tratamiento de sus datos personales, puede consultar dicha información adicional en el siguiente enlace dentro de nuestra página web: https://www.cnio.es/es/privacidad/index.asp

LEGAL NOTICE: This email and any attached files may contain protected information for the sole use of its intended recipient or addressee. Anyone other than the intended recipient or addressee is strictly prohibited from distributing, reproducing or transmitting the email and its contents in any way. If you receive this email in error, please notify the sender and delete the message. Pursuant to the provisions of EU Regulation 2016/679 regarding the protection of personal data, any personal information you provide through this email will be registered by the CNIO Foundation in order to deal with content of this email. Your personal data must be processed in order to be able to deal with the content and purpose of this message. Your personal details will not be passed on to anyone else unless you authorise us to do so or we are required to do so by law. You may exercise your rights regarding access, rectification, suppression, limitation of processing, portability and opposition by writing to the following address: c/Melchor Fernandez Almagro 3, 28029 (Madrid). You may contact the Data Protection Delegate (Delegado de Protección de Datos) at: @.*** If you require further information about the processing of your personal data, go to the following link on our webpage: https://www.cnio.es/es/privacidad/index.asp

mathiaskalxdorf commented 3 years ago

I can´t see a link to the files here in your message(s). Did you add one to your last message?

fgarciacnio commented 3 years ago

I think you have to click the link and then, download both files. Fernando

From: mathiaskalxdorf @.> Sent: 08 September 2021 14:28 To: mathiaskalxdorf/IceR @.> Cc: García.Fernando @.>; Author @.> Subject: Re: [mathiaskalxdorf/IceR] Error in [: incorrect number of dimensions (#8)

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe

I can see a link to the files here in your message(s). Did you add one to your last message?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mathiaskalxdorf/IceR/issues/8#issuecomment-915195139, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVRCY3KK2CGAQTG6GLQUHSDUA5JGHANCNFSM5DUN3JDA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

ADVERTENCIA LEGAL: Este correo electrónico, y en su caso los ficheros adjuntos, pueden contener información protegida para el uso exclusivo de su destinatario. Se prohíbe la distribución, reproducción o cualquier otro tipo de transmisión por parte de otra persona que no sea el destinatario. Si usted recibe por error este correo, se ruega comunicarlo al remitente y borrar el mensaje recibido. De conformidad con lo dispuesto en el Reglamento (UE) 2016/679 relativo a la protección de los datos personales de las personas físicas, la información personal que nos pueda facilitar a través de este correo electrónico quedará registrada por la Fundación CNIO con la finalidad de tramitar el objeto del presente correo electrónico. El tratamiento de sus datos personales se encuentra legitimado por ser necesario para gestionar el objeto del presente mensaje. Estos datos personales no serán comunicados a ningún destinatario salvo a aquellos que usted nos autorice o así venga exigido por una ley. Ud. podrá ejercer los derechos de acceso, rectificación, supresión, limitación de tratamiento, portabilidad y oposición en la siguiente dirección: c/Melchor Fernandez Almagro 3, 28029 (Madrid). Podrá ponerse en contacto con el Delegado de Protección de Datos en: @.*** Para el caso de que Ud. precise conocer información adicional sobre el tratamiento de sus datos personales, puede consultar dicha información adicional en el siguiente enlace dentro de nuestra página web: https://www.cnio.es/es/privacidad/index.asp

LEGAL NOTICE: This email and any attached files may contain protected information for the sole use of its intended recipient or addressee. Anyone other than the intended recipient or addressee is strictly prohibited from distributing, reproducing or transmitting the email and its contents in any way. If you receive this email in error, please notify the sender and delete the message. Pursuant to the provisions of EU Regulation 2016/679 regarding the protection of personal data, any personal information you provide through this email will be registered by the CNIO Foundation in order to deal with content of this email. Your personal data must be processed in order to be able to deal with the content and purpose of this message. Your personal details will not be passed on to anyone else unless you authorise us to do so or we are required to do so by law. You may exercise your rights regarding access, rectification, suppression, limitation of processing, portability and opposition by writing to the following address: c/Melchor Fernandez Almagro 3, 28029 (Madrid). You may contact the Data Protection Delegate (Delegado de Protección de Datos) at: @.*** If you require further information about the processing of your personal data, go to the following link on our webpage: https://www.cnio.es/es/privacidad/index.asp

mathiaskalxdorf commented 3 years ago

Sorry, again. I can not see a link here to the files in your last messages. Can you add the link to your next response please? If such a link is maybe automatically removed by github while sending a post, we should maybe message via email. But let´s see. Please just try again to put the link in your next message. Thanks again.

fgarciacnio commented 3 years ago

https://fundacioncnio-my.sharepoint.com/:f:/g/personal/fgarcia_cnio_es/EgVqu7cSEmNJrxovG1l7w9sBTNYC00O1gKvS52pJSBaUdg?e=5%3aGMIQuN&at=9


From: mathiaskalxdorf @.> Sent: Wednesday, September 8, 2021 2:45:31 PM To: mathiaskalxdorf/IceR @.> Cc: fgarciacnio @.>; Author @.> Subject: Re: [mathiaskalxdorf/IceR] Error in [: incorrect number of dimensions (#8)

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe

Sorry, again. I can not see a link here to the files in your last messages. Can you add the link to your next response please? If such a link is maybe automatically removed by github while sending a post, we should maybe message via email. But let´s see. Please just try again to put the link in your next message. Thanks again.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mathiaskalxdorf/IceR/issues/8#issuecomment-915206745, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVRCY3LHWLJYFQZQBQDJIJTUA5LGXANCNFSM5DUN3JDA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

ADVERTENCIA LEGAL: Este correo electrónico, y en su caso los ficheros adjuntos, pueden contener información protegida para el uso exclusivo de su destinatario. Se prohíbe la distribución, reproducción o cualquier otro tipo de transmisión por parte de otra persona que no sea el destinatario. Si usted recibe por error este correo, se ruega comunicarlo al remitente y borrar el mensaje recibido. De conformidad con lo dispuesto en el Reglamento (UE) 2016/679 relativo a la protección de los datos personales de las personas físicas, la información personal que nos pueda facilitar a través de este correo electrónico quedará registrada por la Fundación CNIO con la finalidad de tramitar el objeto del presente correo electrónico. El tratamiento de sus datos personales se encuentra legitimado por ser necesario para gestionar el objeto del presente mensaje. Estos datos personales no serán comunicados a ningún destinatario salvo a aquellos que usted nos autorice o así venga exigido por una ley. Ud. podrá ejercer los derechos de acceso, rectificación, supresión, limitación de tratamiento, portabilidad y oposición en la siguiente dirección: c/Melchor Fernandez Almagro 3, 28029 (Madrid). Podrá ponerse en contacto con el Delegado de Protección de Datos en: @.*** Para el caso de que Ud. precise conocer información adicional sobre el tratamiento de sus datos personales, puede consultar dicha información adicional en el siguiente enlace dentro de nuestra página web: https://www.cnio.es/es/privacidad/index.asp

LEGAL NOTICE: This email and any attached files may contain protected information for the sole use of its intended recipient or addressee. Anyone other than the intended recipient or addressee is strictly prohibited from distributing, reproducing or transmitting the email and its contents in any way. If you receive this email in error, please notify the sender and delete the message. Pursuant to the provisions of EU Regulation 2016/679 regarding the protection of personal data, any personal information you provide through this email will be registered by the CNIO Foundation in order to deal with content of this email. Your personal data must be processed in order to be able to deal with the content and purpose of this message. Your personal details will not be passed on to anyone else unless you authorise us to do so or we are required to do so by law. You may exercise your rights regarding access, rectification, suppression, limitation of processing, portability and opposition by writing to the following address: c/Melchor Fernandez Almagro 3, 28029 (Madrid). You may contact the Data Protection Delegate (Delegado de Protección de Datos) at: @.*** If you require further information about the processing of your personal data, go to the following link on our webpage: https://www.cnio.es/es/privacidad/index.asp

mathiaskalxdorf commented 3 years ago

Hi Fernando,

I had a look into your data and could spot the issue. At the end of the IceR run, as a QC it compares the observed new quantifications with what MaxQ observed per peptide and per sample. For that purpose it loads the peptides.txt file and expects individual intensity columns per sample (typically column names are "Intensity sample1" and "Intensity sample2" and so on). In your case it looks like there is only one Intensity column in the peptides.txt file. There are now two possible reasons I can see for that: 1.) Something changed with the newest MaxQ version (I see that you used Version 2.0.2.0 but we tested IceR yet only until 1.6.14) or more likely 2.) both QC samples were defined to be somehow merged together by MaxQ which would also explain why there is only a single Intensity column in peptides.txt and proteinGroups.txt. Can you check your MaxQ settings that both samples are not somehow merged or treated as fractions or something like that? For the future I included now for the next release a check up-front of the IceR run which tests if all required columns and intensities for at least 2 samples are present. Otherwise it will return an error.

Best,

Mathias

fgarciacnio commented 3 years ago

Hi Matthias. I think you are right. MaxQuant did not split the peptide intensities because I didn´t selected LFQ option (we check or QC for PSMs, peptides and proteins without further analysis). I going to re-run MaxQuant with the LFQ enable and repeat IceR. Do you recommend to use MBR option prior to IceR? Thanks a lot and I will keep you informed if it works with the LFQ on. Best regards Fernando From: mathiaskalxdorf @.> Sent: 09 September 2021 08:32 To: mathiaskalxdorf/IceR @.> Cc: García.Fernando @.>; Author @.> Subject: Re: [mathiaskalxdorf/IceR] Error in [: incorrect number of dimensions (#8)

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe

Hi Fernando,

I had a look into your data and could spot the issue. At the end of the IceR run, as a QC it compares the observed new quantifications with what MaxQ observed per peptide and per sample. For that purpose it loads the peptides.txt file and expects individual intensity columns per sample (typically column names are "Intensity sample1" and "Intensity sample2" and so on). In your case it looks like there is only one Intensity column in the peptides.txt file. There are now two possible reasons I can see for that: 1.) Something changed with the newest MaxQ version (I see that you used Version 2.0.2.0 but we tested IceR yet only until 1.6.14) or more likely 2.) both QC samples were defined to be somehow merged together by MaxQ which would also explain why there is only a single Intensity column in peptides.txt and proteinGroups.txt. Can you check your MaxQ settings that both samples are not somehow merged or treated as fractions or something like that? For the future I included now for the next release a check up-front of the IceR run which tests if all required columns and intensities for at least 2 samples are present. Otherwise it will return an error.

Best,

Mathias

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mathiaskalxdorf/IceR/issues/8#issuecomment-915802816, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVRCY3POD7TTMHKH2ETAC5TUBBIE7ANCNFSM5DUN3JDA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

ADVERTENCIA LEGAL: Este correo electrónico, y en su caso los ficheros adjuntos, pueden contener información protegida para el uso exclusivo de su destinatario. Se prohíbe la distribución, reproducción o cualquier otro tipo de transmisión por parte de otra persona que no sea el destinatario. Si usted recibe por error este correo, se ruega comunicarlo al remitente y borrar el mensaje recibido. De conformidad con lo dispuesto en el Reglamento (UE) 2016/679 relativo a la protección de los datos personales de las personas físicas, la información personal que nos pueda facilitar a través de este correo electrónico quedará registrada por la Fundación CNIO con la finalidad de tramitar el objeto del presente correo electrónico. El tratamiento de sus datos personales se encuentra legitimado por ser necesario para gestionar el objeto del presente mensaje. Estos datos personales no serán comunicados a ningún destinatario salvo a aquellos que usted nos autorice o así venga exigido por una ley. Ud. podrá ejercer los derechos de acceso, rectificación, supresión, limitación de tratamiento, portabilidad y oposición en la siguiente dirección: c/Melchor Fernandez Almagro 3, 28029 (Madrid). Podrá ponerse en contacto con el Delegado de Protección de Datos en: @.*** Para el caso de que Ud. precise conocer información adicional sobre el tratamiento de sus datos personales, puede consultar dicha información adicional en el siguiente enlace dentro de nuestra página web: https://www.cnio.es/es/privacidad/index.asp

LEGAL NOTICE: This email and any attached files may contain protected information for the sole use of its intended recipient or addressee. Anyone other than the intended recipient or addressee is strictly prohibited from distributing, reproducing or transmitting the email and its contents in any way. If you receive this email in error, please notify the sender and delete the message. Pursuant to the provisions of EU Regulation 2016/679 regarding the protection of personal data, any personal information you provide through this email will be registered by the CNIO Foundation in order to deal with content of this email. Your personal data must be processed in order to be able to deal with the content and purpose of this message. Your personal details will not be passed on to anyone else unless you authorise us to do so or we are required to do so by law. You may exercise your rights regarding access, rectification, suppression, limitation of processing, portability and opposition by writing to the following address: c/Melchor Fernandez Almagro 3, 28029 (Madrid). You may contact the Data Protection Delegate (Delegado de Protección de Datos) at: @.*** If you require further information about the processing of your personal data, go to the following link on our webpage: https://www.cnio.es/es/privacidad/index.asp

mathiaskalxdorf commented 3 years ago

We typically have MBR switched on as we afterwards want to compare both results (and it is only fair if MBR is switched on for MaxQ) and my recommendation would be to always have MBR switched on for subsequent IceR analysis. Nonetheless, IceR would also work if MBR is switched off.