Skip to content

Commit 0debc43

Browse files
author
stefanks
authored
Merge pull request #260 from smith-chem-wisc/StefanBranch
Stefan branch
2 parents f5a27d0 + b7e2eb1 commit 0debc43

File tree

20 files changed

+186
-265
lines changed

20 files changed

+186
-265
lines changed

CMD/CMD.csproj

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -37,37 +37,37 @@
3737
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3838
</PropertyGroup>
3939
<ItemGroup>
40-
<Reference Include="Chemistry, Version=1.0.131.0, Culture=neutral, processorArchitecture=AMD64">
41-
<HintPath>..\packages\mzLib.1.0.131\lib\Chemistry.dll</HintPath>
40+
<Reference Include="Chemistry, Version=1.0.132.0, Culture=neutral, processorArchitecture=AMD64">
41+
<HintPath>..\packages\mzLib.1.0.132\lib\Chemistry.dll</HintPath>
4242
</Reference>
43-
<Reference Include="ManagedThermoHelperLayer, Version=1.0.131.0, Culture=neutral, processorArchitecture=AMD64">
44-
<HintPath>..\packages\mzLib.1.0.131\lib\ManagedThermoHelperLayer.dll</HintPath>
43+
<Reference Include="ManagedThermoHelperLayer, Version=1.0.132.0, Culture=neutral, processorArchitecture=AMD64">
44+
<HintPath>..\packages\mzLib.1.0.132\lib\ManagedThermoHelperLayer.dll</HintPath>
4545
</Reference>
46-
<Reference Include="MassSpectrometry, Version=1.0.131.0, Culture=neutral, processorArchitecture=AMD64">
47-
<HintPath>..\packages\mzLib.1.0.131\lib\MassSpectrometry.dll</HintPath>
46+
<Reference Include="MassSpectrometry, Version=1.0.132.0, Culture=neutral, processorArchitecture=AMD64">
47+
<HintPath>..\packages\mzLib.1.0.132\lib\MassSpectrometry.dll</HintPath>
4848
</Reference>
4949
<Reference Include="MathNet.Numerics, Version=3.17.0.0, Culture=neutral, processorArchitecture=MSIL">
5050
<HintPath>..\packages\MathNet.Numerics.3.17.0\lib\net40\MathNet.Numerics.dll</HintPath>
5151
<Private>True</Private>
5252
</Reference>
53-
<Reference Include="mzIdentML, Version=1.0.131.0, Culture=neutral, processorArchitecture=AMD64">
54-
<HintPath>..\packages\mzLib.1.0.131\lib\mzIdentML.dll</HintPath>
53+
<Reference Include="mzIdentML, Version=1.0.132.0, Culture=neutral, processorArchitecture=AMD64">
54+
<HintPath>..\packages\mzLib.1.0.132\lib\mzIdentML.dll</HintPath>
5555
</Reference>
56-
<Reference Include="MzLibUtil, Version=1.0.131.0, Culture=neutral, processorArchitecture=AMD64">
57-
<HintPath>..\packages\mzLib.1.0.131\lib\MzLibUtil.dll</HintPath>
56+
<Reference Include="MzLibUtil, Version=1.0.132.0, Culture=neutral, processorArchitecture=AMD64">
57+
<HintPath>..\packages\mzLib.1.0.132\lib\MzLibUtil.dll</HintPath>
5858
</Reference>
59-
<Reference Include="MzML, Version=1.0.131.0, Culture=neutral, processorArchitecture=AMD64">
60-
<HintPath>..\packages\mzLib.1.0.131\lib\MzML.dll</HintPath>
59+
<Reference Include="MzML, Version=1.0.132.0, Culture=neutral, processorArchitecture=AMD64">
60+
<HintPath>..\packages\mzLib.1.0.132\lib\MzML.dll</HintPath>
6161
</Reference>
6262
<Reference Include="NetSerializer, Version=4.1.0.0, Culture=neutral, processorArchitecture=MSIL">
6363
<HintPath>..\packages\NetSerializer.4.1.0\lib\net45\NetSerializer.dll</HintPath>
6464
<Private>True</Private>
6565
</Reference>
66-
<Reference Include="Proteomics, Version=1.0.131.0, Culture=neutral, processorArchitecture=AMD64">
67-
<HintPath>..\packages\mzLib.1.0.131\lib\Proteomics.dll</HintPath>
66+
<Reference Include="Proteomics, Version=1.0.132.0, Culture=neutral, processorArchitecture=AMD64">
67+
<HintPath>..\packages\mzLib.1.0.132\lib\Proteomics.dll</HintPath>
6868
</Reference>
69-
<Reference Include="Spectra, Version=1.0.131.0, Culture=neutral, processorArchitecture=AMD64">
70-
<HintPath>..\packages\mzLib.1.0.131\lib\Spectra.dll</HintPath>
69+
<Reference Include="Spectra, Version=1.0.132.0, Culture=neutral, processorArchitecture=AMD64">
70+
<HintPath>..\packages\mzLib.1.0.132\lib\Spectra.dll</HintPath>
7171
</Reference>
7272
<Reference Include="System" />
7373
<Reference Include="System.Core" />
@@ -78,11 +78,11 @@
7878
<Reference Include="System.Data" />
7979
<Reference Include="System.Net.Http" />
8080
<Reference Include="System.Xml" />
81-
<Reference Include="Thermo, Version=1.0.131.0, Culture=neutral, processorArchitecture=AMD64">
82-
<HintPath>..\packages\mzLib.1.0.131\lib\Thermo.dll</HintPath>
81+
<Reference Include="Thermo, Version=1.0.132.0, Culture=neutral, processorArchitecture=AMD64">
82+
<HintPath>..\packages\mzLib.1.0.132\lib\Thermo.dll</HintPath>
8383
</Reference>
84-
<Reference Include="UsefulProteomicsDatabases, Version=1.0.131.0, Culture=neutral, processorArchitecture=AMD64">
85-
<HintPath>..\packages\mzLib.1.0.131\lib\UsefulProteomicsDatabases.dll</HintPath>
84+
<Reference Include="UsefulProteomicsDatabases, Version=1.0.132.0, Culture=neutral, processorArchitecture=AMD64">
85+
<HintPath>..\packages\mzLib.1.0.132\lib\UsefulProteomicsDatabases.dll</HintPath>
8686
</Reference>
8787
<Reference Include="Zlib.Portable, Version=1.11.0.0, Culture=neutral, processorArchitecture=MSIL">
8888
<HintPath>..\packages\Zlib.Portable.1.11.0\lib\portable-net4+sl5+wp8+win8+wpa81+MonoTouch+MonoAndroid\Zlib.Portable.dll</HintPath>
@@ -112,12 +112,12 @@
112112
</ProjectReference>
113113
</ItemGroup>
114114
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
115-
<Import Project="..\packages\mzLib.1.0.131\build\mzLib.targets" Condition="Exists('..\packages\mzLib.1.0.131\build\mzLib.targets')" />
115+
<Import Project="..\packages\mzLib.1.0.132\build\mzLib.targets" Condition="Exists('..\packages\mzLib.1.0.132\build\mzLib.targets')" />
116116
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
117117
<PropertyGroup>
118118
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
119119
</PropertyGroup>
120-
<Error Condition="!Exists('..\packages\mzLib.1.0.131\build\mzLib.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\mzLib.1.0.131\build\mzLib.targets'))" />
120+
<Error Condition="!Exists('..\packages\mzLib.1.0.132\build\mzLib.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\mzLib.1.0.132\build\mzLib.targets'))" />
121121
</Target>
122122
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
123123
Other similar extension points exist, see Microsoft.Common.targets.

CMD/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="MathNet.Numerics" version="3.17.0" targetFramework="net451" />
4-
<package id="mzLib" version="1.0.131" targetFramework="net451" />
4+
<package id="mzLib" version="1.0.132" targetFramework="net451" />
55
<package id="NetSerializer" version="4.1.0" targetFramework="net451" />
66
<package id="Zlib.Portable" version="1.11.0" targetFramework="net451" />
77
</packages>

EngineLayer/EngineLayer.csproj

Lines changed: 22 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -36,33 +36,33 @@
3636
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3737
</PropertyGroup>
3838
<ItemGroup>
39-
<Reference Include="Chemistry, Version=1.0.131.0, Culture=neutral, processorArchitecture=AMD64">
40-
<HintPath>..\packages\mzLib.1.0.131\lib\Chemistry.dll</HintPath>
39+
<Reference Include="Chemistry, Version=1.0.132.0, Culture=neutral, processorArchitecture=AMD64">
40+
<HintPath>..\packages\mzLib.1.0.132\lib\Chemistry.dll</HintPath>
4141
</Reference>
42-
<Reference Include="ManagedThermoHelperLayer, Version=1.0.131.0, Culture=neutral, processorArchitecture=AMD64">
43-
<HintPath>..\packages\mzLib.1.0.131\lib\ManagedThermoHelperLayer.dll</HintPath>
42+
<Reference Include="ManagedThermoHelperLayer, Version=1.0.132.0, Culture=neutral, processorArchitecture=AMD64">
43+
<HintPath>..\packages\mzLib.1.0.132\lib\ManagedThermoHelperLayer.dll</HintPath>
4444
</Reference>
45-
<Reference Include="MassSpectrometry, Version=1.0.131.0, Culture=neutral, processorArchitecture=AMD64">
46-
<HintPath>..\packages\mzLib.1.0.131\lib\MassSpectrometry.dll</HintPath>
45+
<Reference Include="MassSpectrometry, Version=1.0.132.0, Culture=neutral, processorArchitecture=AMD64">
46+
<HintPath>..\packages\mzLib.1.0.132\lib\MassSpectrometry.dll</HintPath>
4747
</Reference>
4848
<Reference Include="MathNet.Numerics, Version=3.17.0.0, Culture=neutral, processorArchitecture=MSIL">
4949
<HintPath>..\packages\MathNet.Numerics.3.17.0\lib\net40\MathNet.Numerics.dll</HintPath>
5050
<Private>True</Private>
5151
</Reference>
52-
<Reference Include="mzIdentML, Version=1.0.131.0, Culture=neutral, processorArchitecture=AMD64">
53-
<HintPath>..\packages\mzLib.1.0.131\lib\mzIdentML.dll</HintPath>
52+
<Reference Include="mzIdentML, Version=1.0.132.0, Culture=neutral, processorArchitecture=AMD64">
53+
<HintPath>..\packages\mzLib.1.0.132\lib\mzIdentML.dll</HintPath>
5454
</Reference>
55-
<Reference Include="MzLibUtil, Version=1.0.131.0, Culture=neutral, processorArchitecture=AMD64">
56-
<HintPath>..\packages\mzLib.1.0.131\lib\MzLibUtil.dll</HintPath>
55+
<Reference Include="MzLibUtil, Version=1.0.132.0, Culture=neutral, processorArchitecture=AMD64">
56+
<HintPath>..\packages\mzLib.1.0.132\lib\MzLibUtil.dll</HintPath>
5757
</Reference>
58-
<Reference Include="MzML, Version=1.0.131.0, Culture=neutral, processorArchitecture=AMD64">
59-
<HintPath>..\packages\mzLib.1.0.131\lib\MzML.dll</HintPath>
58+
<Reference Include="MzML, Version=1.0.132.0, Culture=neutral, processorArchitecture=AMD64">
59+
<HintPath>..\packages\mzLib.1.0.132\lib\MzML.dll</HintPath>
6060
</Reference>
61-
<Reference Include="Proteomics, Version=1.0.131.0, Culture=neutral, processorArchitecture=AMD64">
62-
<HintPath>..\packages\mzLib.1.0.131\lib\Proteomics.dll</HintPath>
61+
<Reference Include="Proteomics, Version=1.0.132.0, Culture=neutral, processorArchitecture=AMD64">
62+
<HintPath>..\packages\mzLib.1.0.132\lib\Proteomics.dll</HintPath>
6363
</Reference>
64-
<Reference Include="Spectra, Version=1.0.131.0, Culture=neutral, processorArchitecture=AMD64">
65-
<HintPath>..\packages\mzLib.1.0.131\lib\Spectra.dll</HintPath>
64+
<Reference Include="Spectra, Version=1.0.132.0, Culture=neutral, processorArchitecture=AMD64">
65+
<HintPath>..\packages\mzLib.1.0.132\lib\Spectra.dll</HintPath>
6666
</Reference>
6767
<Reference Include="System" />
6868
<Reference Include="System.Core" />
@@ -72,11 +72,11 @@
7272
<Reference Include="System.Data" />
7373
<Reference Include="System.Net.Http" />
7474
<Reference Include="System.Xml" />
75-
<Reference Include="Thermo, Version=1.0.131.0, Culture=neutral, processorArchitecture=AMD64">
76-
<HintPath>..\packages\mzLib.1.0.131\lib\Thermo.dll</HintPath>
75+
<Reference Include="Thermo, Version=1.0.132.0, Culture=neutral, processorArchitecture=AMD64">
76+
<HintPath>..\packages\mzLib.1.0.132\lib\Thermo.dll</HintPath>
7777
</Reference>
78-
<Reference Include="UsefulProteomicsDatabases, Version=1.0.131.0, Culture=neutral, processorArchitecture=AMD64">
79-
<HintPath>..\packages\mzLib.1.0.131\lib\UsefulProteomicsDatabases.dll</HintPath>
78+
<Reference Include="UsefulProteomicsDatabases, Version=1.0.132.0, Culture=neutral, processorArchitecture=AMD64">
79+
<HintPath>..\packages\mzLib.1.0.132\lib\UsefulProteomicsDatabases.dll</HintPath>
8080
</Reference>
8181
<Reference Include="Zlib.Portable, Version=1.11.0.0, Culture=neutral, processorArchitecture=MSIL">
8282
<HintPath>..\packages\Zlib.Portable.1.11.0\lib\portable-net4+sl5+wp8+win8+wpa81+MonoTouch+MonoAndroid\Zlib.Portable.dll</HintPath>
@@ -172,9 +172,6 @@
172172
<Content Include="Mods\f.txt">
173173
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
174174
</Content>
175-
<Content Include="Mods\fNew.txt">
176-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
177-
</Content>
178175
<Content Include="Mods\glyco.txt">
179176
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
180177
</Content>
@@ -201,12 +198,12 @@
201198
</Content>
202199
</ItemGroup>
203200
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
204-
<Import Project="..\packages\mzLib.1.0.131\build\mzLib.targets" Condition="Exists('..\packages\mzLib.1.0.131\build\mzLib.targets')" />
201+
<Import Project="..\packages\mzLib.1.0.132\build\mzLib.targets" Condition="Exists('..\packages\mzLib.1.0.132\build\mzLib.targets')" />
205202
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
206203
<PropertyGroup>
207204
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
208205
</PropertyGroup>
209-
<Error Condition="!Exists('..\packages\mzLib.1.0.131\build\mzLib.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\mzLib.1.0.131\build\mzLib.targets'))" />
206+
<Error Condition="!Exists('..\packages\mzLib.1.0.132\build\mzLib.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\mzLib.1.0.132\build\mzLib.targets'))" />
210207
</Target>
211208
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
212209
Other similar extension points exist, see Microsoft.Common.targets.

EngineLayer/Gptmd/GptmdResults.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using Proteomics;
22
using System;
33
using System.Collections.Generic;
4+
using System.Linq;
45
using System.Text;
56

67
namespace EngineLayer.Gptmd
@@ -30,18 +31,20 @@ public GptmdResults(MyEngine s, Dictionary<string, HashSet<Tuple<int, Modificati
3031

3132
#endregion Public Properties
3233

33-
#region Protected Properties
34+
#region Public Methods
3435

3536
public override string ToString()
3637
{
3738
var sb = new StringBuilder();
3839
sb.AppendLine(base.ToString());
3940
sb.AppendLine("Modifications added = " + modsAdded);
40-
sb.Append("Proteins expanded = " + Mods.Count);
41+
sb.AppendLine("Proteins expanded = " + Mods.Count);
42+
sb.AppendLine("Mods added types and counts:");
43+
sb.Append(string.Join(Environment.NewLine, Mods.SelectMany(b => b.Value).GroupBy(b => b.Item2).OrderBy(b => -b.Count()).Select(b => b.Key.id + " " + b.Count())));
4144
return sb.ToString();
4245
}
4346

44-
#endregion Protected Properties
47+
#endregion Public Methods
4548

4649
}
4750
}

EngineLayer/Mods/f.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
Fixed modifications
22
ID Carbamidomethyl
3-
TG Cysteine
3+
TG C
44
PP Anywhere.
55
MM 57.02146373
6+
MT FixedMod
67
CF H3 C2 N O
78
//

EngineLayer/Mods/fNew.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)