Error with SWATH data

88 views
Skip to first unread message

Jo Ka

unread,
Jul 19, 2023, 8:12:22 AM7/19/23
to GNPS Discussion Forum and Bug Reports
Hello guys,
i got some strange errors while using for the first time SWATH data instead of DDA. I converted also to mzML but then this error apears minutes after submitting. Does someone know about these trouble with SWATH data or what might be another reason for this error. Every advise is welcome.
Error gnps.png
Error message:
Traceback (most recent call last): File "pandas/_libs/parsers.pyx", line 1130, in pandas._libs.parsers.TextReader._convert_tokens File "pandas/_libs/parsers.pyx", line 1254, in pandas._libs.parsers.TextReader._convert_with_dtype File "pandas/_libs/parsers.pyx", line 1269, in pandas._libs.parsers.TextReader._string_convert File "pandas/_libs/parsers.pyx", line 1459, in pandas._libs.parsers._string_box_utf8 UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 24: invalid continuation byte During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/data/ccms-gnps/tools/metabolomicsnetsv2/release_30/scripts/format_metadata.py", line 91, in <module> main() File "/data/ccms-gnps/tools/metabolomicsnetsv2/release_30/scripts/format_metadata.py", line 19, in main process(args.param_xml, args.metadata_folder, args.output_metadata_folder) File "/data/ccms-gnps/tools/metabolomicsnetsv2/release_30/scripts/format_metadata.py", line 29, in process user_metadata_df = pd.read_csv(input_metadata_filenames[0], sep="\t") File "/data/ccms-gnps/tools/miniconda3_gamma/lib/python3.7/site-packages/pandas/io/parsers.py", line 676, in parser_f return _read(filepath_or_buffer, kwds) File "/data/ccms-gnps/tools/miniconda3_gamma/lib/python3.7/site-packages/pandas/io/parsers.py", line 454, in _read data = parser.read(nrows) File "/data/ccms-gnps/tools/miniconda3_gamma/lib/python3.7/site-packages/pandas/io/parsers.py", line 1133, in read ret = self._engine.read(nrows) File "/data/ccms-gnps/tools/miniconda3_gamma/lib/python3.7/site-packages/pandas/io/parsers.py", line 2037, in read data = self._reader.read(nrows) File "pandas/_libs/parsers.pyx", line 860, in pandas._libs.parsers.TextReader.read File "pandas/_libs/parsers.pyx", line 875, in pandas._libs.parsers.TextReader._read_low_memory File "pandas/_libs/parsers.pyx", line 952, in pandas._libs.parsers.TextReader._read_rows File "pandas/_libs/parsers.pyx", line 1084, in pandas._libs.parsers.TextReader._convert_column_data File "pandas/_libs/parsers.pyx", line 1137, in pandas._libs.parsers.TextReader._convert_tokens File "pandas/_libs/parsers.pyx", line 1254, in pandas._libs.parsers.TextReader._convert_with_dtype File "pandas/_libs/parsers.pyx", line 1269, in pandas._libs.parsers.TextReader._string_convert File "pandas/_libs/parsers.pyx", line 1459, in pandas._libs.parsers._string_box_utf8 UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 24: invalid continuation byte Tool execution terminates abnormally with exit code [1]

Best
Jonas

Mingxun Wang

unread,
Jul 19, 2023, 7:03:47 PM7/19/23
to Jo Ka, GNPS Discussion Forum and Bug Reports
Hi Jonas,

Thanks for your question. Broadly DIA natively is not handled by Classical Networking, only DDA. I would recommend a tool like DIA Umpire which creates pseudo MS/MS so it mimics DDA data. 

Best,

Ming


--
You received this message because you are subscribed to the Google Groups "GNPS Discussion Forum and Bug Reports" group.
To unsubscribe from this group and stop receiving emails from it, send an email to molecular_networking_b...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/molecular_networking_bug_reports/e88ca665-348a-4516-8ba9-b76abaa70ca1n%40googlegroups.com.

Jo Ka

unread,
Jul 20, 2023, 7:29:14 AM7/20/23
to GNPS Discussion Forum and Bug Reports
Hi Ming,

thanks for your answer! I will give it a try! Meanwhile I remeasure the data set in DDA and try again with this new data set.

Best
Jonas

Jo Ka

unread,
Jul 20, 2023, 10:43:08 AM7/20/23
to GNPS Discussion Forum and Bug Reports
Hi Ming,

I tried now with the new remeasured DDA data, but I get the exact same errors... so its not about the SWATH as I thought first. Do you might have any clue about the errors from my first message?

Status after 1 minute 10s:
Traceback (most recent call last): File "pandas/_libs/parsers.pyx", line 1130, in pandas._libs.parsers.TextReader._convert_tokens File "pandas/_libs/parsers.pyx", line 1254, in pandas._libs.parsers.TextReader._convert_with_dtype File "pandas/_libs/parsers.pyx", line 1269, in pandas._libs.parsers.TextReader._string_convert File "pandas/_libs/parsers.pyx", line 1459, in pandas._libs.parsers._string_box_utf8 UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 24: invalid continuation byte During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/data/ccms-gnps/tools/metabolomicsnetsv2/release_30/scripts/format_metadata.py", line 91, in <module> main() File "/data/ccms-gnps/tools/metabolomicsnetsv2/release_30/scripts/format_metadata.py", line 19, in main process(args.param_xml, args.metadata_folder, args.output_metadata_folder) File "/data/ccms-gnps/tools/metabolomicsnetsv2/release_30/scripts/format_metadata.py", line 29, in process user_metadata_df = pd.read_csv(input_metadata_filenames[0], sep="\t") File "/data/ccms-gnps/tools/miniconda3_gamma/lib/python3.7/site-packages/pandas/io/parsers.py", line 676, in parser_f return _read(filepath_or_buffer, kwds) File "/data/ccms-gnps/tools/miniconda3_gamma/lib/python3.7/site-packages/pandas/io/parsers.py", line 454, in _read data = parser.read(nrows) File "/data/ccms-gnps/tools/miniconda3_gamma/lib/python3.7/site-packages/pandas/io/parsers.py", line 1133, in read ret = self._engine.read(nrows) File "/data/ccms-gnps/tools/miniconda3_gamma/lib/python3.7/site-packages/pandas/io/parsers.py", line 2037, in read data = self._reader.read(nrows) File "pandas/_libs/parsers.pyx", line 860, in pandas._libs.parsers.TextReader.read File "pandas/_libs/parsers.pyx", line 875, in pandas._libs.parsers.TextReader._read_low_memory File "pandas/_libs/parsers.pyx", line 952, in pandas._libs.parsers.TextReader._read_rows File "pandas/_libs/parsers.pyx", line 1084, in pandas._libs.parsers.TextReader._convert_column_data File "pandas/_libs/parsers.pyx", line 1137, in pandas._libs.parsers.TextReader._convert_tokens File "pandas/_libs/parsers.pyx", line 1254, in pandas._libs.parsers.TextReader._convert_with_dtype File "pandas/_libs/parsers.pyx", line 1269, in pandas._libs.parsers.TextReader._string_convert File "pandas/_libs/parsers.pyx", line 1459, in pandas._libs.parsers._string_box_utf8 UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 24: invalid continuation byte Tool execution terminates abnormally with exit code [1]



Best
Jonas

Mingxun Wang schrieb am Donnerstag, 20. Juli 2023 um 01:03:47 UTC+2:

Jo Ka

unread,
Jul 21, 2023, 10:42:31 AM7/21/23
to GNPS Discussion Forum and Bug Reports
Hi Ming,

the problem is solved! When I pasted some Informations in the metadata spreadsheet, it seems to give an error. I rewrote my metadata doc by hand and now it works fine.

Best
Jonas

Mingxun Wang

unread,
Jul 21, 2023, 9:37:59 PM7/21/23
to Jo Ka, GNPS Discussion Forum and Bug Reports
Hi Jonas!

Glad to hear it. 

Best,

Ming

Reply all
Reply to author
Forward
0 new messages