Skip to content

Commit 42b2484

Browse files
trishortsclaude
andcommitted
feat(msldbbuilder): add FASTA->.msl spectral-library builder for ManySearch
Offline library compiler for MetaMorpheus's ManySearchTask: digests protein FASTAs once and writes compact indexed .msl libraries (precursor mass + charge + Chronologer iRT + sequence, lean / fragment-less by default) so the parallel search reads pre-built libraries instead of re-digesting thousands of FASTAs at search time. Supports per-database output, a merged db|accession-tagged index, and size-balanced sharded production builds with a global persisted iRT cache. Added as a new project under mzLib/MslDbBuilder referencing UsefulProteomics- Databases and Readers. Depends on the .msl writer/reader API from #1036, so its base is mzlib_speclib. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 1fe6f85 commit 42b2484

4 files changed

Lines changed: 1077 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net8.0</TargetFramework>
6+
<Nullable>disable</Nullable>
7+
<ImplicitUsings>disable</ImplicitUsings>
8+
<Platforms>x64</Platforms>
9+
<PlatformTarget>x64</PlatformTarget>
10+
</PropertyGroup>
11+
12+
<!-- The .msl writer + digestion live in these mzLib projects. -->
13+
<ItemGroup>
14+
<ProjectReference Include="..\UsefulProteomicsDatabases\UsefulProteomicsDatabases.csproj" />
15+
<ProjectReference Include="..\Readers\Readers.csproj" />
16+
</ItemGroup>
17+
18+
<!-- Direct ref so the libtorch native libs (torch_cpu/c10/...) deploy to THIS project's output.
19+
The TorchSharp native-deployment target fires for the direct referent, not transitively. -->
20+
<ItemGroup>
21+
<PackageReference Include="libtorch-cpu" Version="2.5.1" />
22+
<PackageReference Include="TorchSharp" Version="0.105.1" />
23+
</ItemGroup>
24+
25+
</Project>

0 commit comments

Comments
 (0)