Skip to content

Conversation

@vagisha
Copy link
Collaborator

@vagisha vagisha commented Feb 25, 2025

Rationale

Building a spectral library in Skyline from DIA-NN results requires a .speclib file and a report TSV file. The name of the speclib file is in the SpectrumSourceFiles table of the SQLite blib file. However, the name of the report TSV is not included.
Skyline displays this error if the TSV file is missing while building the library:
ERROR: unable to determine DIA-NN report filename for 'report-lib.parquet.skyline.speclib': the TSV report is required to read speclib files and must be in the same directory as the speclib and share some leading characters (e.g. somedata-tsv.speclib and somedata-report.tsv)
The report TSV should be uploaded to pass Panorama Public data validation.

Changes

  • For Panorama Public data validation, we will look for a TSV file, with a matching prefix, in the same directory where the speclib file was uploaded. In addition to having a matching prefix, the TSV file should also have some of the expected column headers.
  • Added tests. Test files are heavily truncated versions of files on Panorama Public. Since the data is not yet public, the submitter's permission was obtained to use their files to create the test data files.

…o files are required to build the library - a .speclib file and a report TSV file. The .blib lists only the .speclib file. We have to guess the name of the TSV report.

- Skyline error when TSV is missing: unable to determine DIA-NN report filename for 'report-lib.parquet.skyline.speclib': the TSV report is required to read speclib files and must be in the same directory as the speclib and share some leading characters (e.g. somedata-tsv.speclib and somedata-report.tsv)
- We look for TSV files in the same directory as the .speclib file; find a file with the longest matching prefix that also contains some expected column headers.
- Display additional error message on the validation page if the report TSV could not be found.
@vagisha vagisha merged commit 2f8fe93 into release24.11-SNAPSHOT Feb 27, 2025
2 checks passed
@vagisha vagisha deleted the 24.11_fb_diann-libraries branch February 27, 2025 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants