Skip to content

Commit 6efb988

Browse files
committed
Set up new BioFSharp.Visualization project with SequenceLogo Plot
1 parent 2adc045 commit 6efb988

File tree

16 files changed

+746
-48
lines changed

16 files changed

+746
-48
lines changed

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: codecov/codecov-action@v5
2828
with:
2929
token: ${{ secrets.CODECOV_TOKEN }}
30-
slug: BioFSharp/BioFSharp.XYZ
30+
slug: BioFSharp/BioFSharp.Visualization
3131

3232
build-and-test-windows:
3333

BioFSharp.XYZ.sln renamed to BioFSharp.Visualization.sln

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@ VisualStudioVersion = 17.0.31903.59
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{7501C4DF-A844-40A0-8742-3343E48E55F1}"
77
EndProject
8-
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "BioFSharp.XYZ", "src\BioFSharp.XYZ\BioFSharp.XYZ.fsproj", "{BAC97B5C-B9A6-40D6-B533-0A07E12939ED}"
9-
EndProject
108
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{D152DA0B-8F60-4611-B613-642379E2B17C}"
119
EndProject
12-
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "BioFSharp.XYZ.Tests", "tests\BioFSharp.XYZ.Tests\BioFSharp.XYZ.Tests.fsproj", "{CB9E38BC-EE86-44EB-AFF5-91D1AF713ADC}"
13-
EndProject
1410
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "project", "project", "{77A50576-9359-44E5-B2F9-95318AB3DAEA}"
1511
ProjectSection(SolutionItems) = preProject
1612
.gitignore = .gitignore
@@ -39,31 +35,38 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".ci", ".ci", "{812698C9-F1C
3935
.github\workflows\deploy-docs.yml = .github\workflows\deploy-docs.yml
4036
EndProjectSection
4137
EndProject
38+
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "BioFSharp.Visualization", "src\BioFSharp.Visualization\BioFSharp.Visualization.fsproj", "{5206207C-4C0E-B0AF-1AF5-9E150F257530}"
39+
EndProject
40+
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "BioFSharp.Visualization.Tests", "tests\BioFSharp.Visualization.Tests\BioFSharp.Visualization.Tests.fsproj", "{CEE58A95-C0FA-D276-5B4F-30025F4B96C9}"
41+
EndProject
4242
Global
4343
GlobalSection(SolutionConfigurationPlatforms) = preSolution
4444
Debug|Any CPU = Debug|Any CPU
4545
Release|Any CPU = Release|Any CPU
4646
EndGlobalSection
4747
GlobalSection(ProjectConfigurationPlatforms) = postSolution
48-
{BAC97B5C-B9A6-40D6-B533-0A07E12939ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
49-
{BAC97B5C-B9A6-40D6-B533-0A07E12939ED}.Debug|Any CPU.Build.0 = Debug|Any CPU
50-
{BAC97B5C-B9A6-40D6-B533-0A07E12939ED}.Release|Any CPU.ActiveCfg = Release|Any CPU
51-
{BAC97B5C-B9A6-40D6-B533-0A07E12939ED}.Release|Any CPU.Build.0 = Release|Any CPU
52-
{CB9E38BC-EE86-44EB-AFF5-91D1AF713ADC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
53-
{CB9E38BC-EE86-44EB-AFF5-91D1AF713ADC}.Debug|Any CPU.Build.0 = Debug|Any CPU
54-
{CB9E38BC-EE86-44EB-AFF5-91D1AF713ADC}.Release|Any CPU.ActiveCfg = Release|Any CPU
55-
{CB9E38BC-EE86-44EB-AFF5-91D1AF713ADC}.Release|Any CPU.Build.0 = Release|Any CPU
5648
{8DCCA688-871C-49DD-BC06-4877F714497C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
5749
{8DCCA688-871C-49DD-BC06-4877F714497C}.Debug|Any CPU.Build.0 = Debug|Any CPU
5850
{8DCCA688-871C-49DD-BC06-4877F714497C}.Release|Any CPU.ActiveCfg = Release|Any CPU
5951
{8DCCA688-871C-49DD-BC06-4877F714497C}.Release|Any CPU.Build.0 = Release|Any CPU
52+
{5206207C-4C0E-B0AF-1AF5-9E150F257530}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
53+
{5206207C-4C0E-B0AF-1AF5-9E150F257530}.Debug|Any CPU.Build.0 = Debug|Any CPU
54+
{5206207C-4C0E-B0AF-1AF5-9E150F257530}.Release|Any CPU.ActiveCfg = Release|Any CPU
55+
{5206207C-4C0E-B0AF-1AF5-9E150F257530}.Release|Any CPU.Build.0 = Release|Any CPU
56+
{CEE58A95-C0FA-D276-5B4F-30025F4B96C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
57+
{CEE58A95-C0FA-D276-5B4F-30025F4B96C9}.Debug|Any CPU.Build.0 = Debug|Any CPU
58+
{CEE58A95-C0FA-D276-5B4F-30025F4B96C9}.Release|Any CPU.ActiveCfg = Release|Any CPU
59+
{CEE58A95-C0FA-D276-5B4F-30025F4B96C9}.Release|Any CPU.Build.0 = Release|Any CPU
6060
EndGlobalSection
6161
GlobalSection(SolutionProperties) = preSolution
6262
HideSolutionNode = FALSE
6363
EndGlobalSection
6464
GlobalSection(NestedProjects) = preSolution
65-
{BAC97B5C-B9A6-40D6-B533-0A07E12939ED} = {7501C4DF-A844-40A0-8742-3343E48E55F1}
66-
{CB9E38BC-EE86-44EB-AFF5-91D1AF713ADC} = {D152DA0B-8F60-4611-B613-642379E2B17C}
6765
{8DCCA688-871C-49DD-BC06-4877F714497C} = {78399A41-F06A-4B35-AA24-E2E20209D8DE}
66+
{5206207C-4C0E-B0AF-1AF5-9E150F257530} = {7501C4DF-A844-40A0-8742-3343E48E55F1}
67+
{CEE58A95-C0FA-D276-5B4F-30025F4B96C9} = {D152DA0B-8F60-4611-B613-642379E2B17C}
68+
EndGlobalSection
69+
GlobalSection(ExtensibilityGlobals) = postSolution
70+
SolutionGuid = {E7E21A6C-2D45-4429-9F90-1A20E30D18ED}
6871
EndGlobalSection
6972
EndGlobal

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# BioFSharp.XYZ
1+
# BioFSharp.Visualization
22

33
![Logo](docs/img/Logo_large.png)
44

55
A template repository for creating an extension package for BioFSharp.
66

77
## Content
88

9-
- `src/BioFSharp.XYZ`: The main project folder. Contains a library with BioFSharp core dependency.
10-
- `tests/BioFSharp.XYZ.Tests`: The test project folder. Contains a XUnit test project
9+
- `src/BioFSharp.Visualization`: The main project folder. Contains a library with BioFSharp core dependency.
10+
- `tests/BioFSharp.Visualization.Tests`: The test project folder. Contains a XUnit test project
1111
- `build/build.fsproj`: A FAKE build project that handles building, testing, packaging, publishing, etc.
1212
- `docs`: the docs folder contains an example index.fsx file with simple documentation boilerplate.
1313

@@ -20,16 +20,16 @@ Here is a list of things you should/might want to do after setting up a repo wit
2020
2121
- Rename some things: Replace `XYZ` with the name of your package
2222
- `PackageTemplate.sln`
23-
- `src/BioFSharp.XYZ`
24-
- `src/BioFSharp.XYZ/BioFSharp.XYZ.fsproj`
23+
- `src/BioFSharp.Visualization`
24+
- `src/BioFSharp.Visualization/BioFSharp.Visualization.fsproj`
2525
- Rename and add nuget package metadata
26-
- `tests/BioFSharp.XYZ`
27-
- `tests/BioFSharp.XYZ.Tests/BioFSharp.XYZ.Tests.fsproj`
28-
- Also make sure to fix the project reference to BioFSharp.XYZ when renamed
26+
- `tests/BioFSharp.Visualization`
27+
- `tests/BioFSharp.Visualization.Tests/BioFSharp.Visualization.Tests.fsproj`
28+
- Also make sure to fix the project reference to BioFSharp.Visualization when renamed
2929
- in `build/ProjectInfo.fs`:
3030
- Set project name:
3131
```fsharp
32-
let project = "BioFSharp.XYZ" // replace with the name of your project
32+
let project = "BioFSharp.Visualization" // replace with the name of your project
3333
```
3434
- Set git owner:
3535
```fsharp
@@ -39,7 +39,7 @@ Here is a list of things you should/might want to do after setting up a repo wit
3939
```fsharp
4040
let testProjects =
4141
[
42-
"tests/BioFSharp.XYZ.Tests/BioFSharp.XYZ.Tests.fsproj" // replace with the name of your test project
42+
"tests/BioFSharp.Visualization.Tests/BioFSharp.Visualization.Tests.fsproj" // replace with the name of your test project
4343
]
4444
```
4545
- in `.github/workflows/build-and-test.yml`: change codecov slug

build/ProjectInfo.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
open Fake.Core
44

55

6-
let project = "BioFSharp.XYZ"
6+
let project = "BioFSharp.Visualization"
77

88
let testProjects =
99
[
10-
"tests/BioFSharp.XYZ.Tests/BioFSharp.XYZ.Tests.fsproj"
10+
"tests/BioFSharp.Visualization.Tests/BioFSharp.Visualization.Tests.fsproj"
1111
]
1212

1313
let solutionFile = $"{project}.sln"

docs/index.fsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(**
2-
# BioFSharp.XYZ
2+
# BioFSharp.Visualization
33
44
![Logo](./img/Logo_large.png)
55
@@ -20,10 +20,10 @@ Include the compiled binaries of your project to use in the docs like this.
2020
Make sure to load any external references via nuget.
2121
*)
2222
#r "nuget: BioFSharp, 2.0.0-preview.3"
23-
#I @"..\src\BioFSharp.XYZ\bin\Release\netstandard2.0"
24-
#r "BioFSharp.XYZ.dll"
23+
#I @"..\src\BioFSharp.Visualization\bin\Release\netstandard2.0"
24+
#r "BioFSharp.Visualization.dll"
2525

26-
open BioFSharp.XYZ
26+
open BioFSharp.Visualization
2727

2828
let o = BioTalk.helloBio "Kev"
2929

src/BioFSharp.XYZ/BioFSharp.XYZ.fsproj renamed to src/BioFSharp.Visualization/BioFSharp.Visualization.fsproj

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,13 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<Compile Include="Library.fs" />
12-
<None Include="..\..\docs\img\icon.png" Pack="true" PackagePath=""/>
11+
<Compile Include="SVG.fs" />
12+
<Compile Include="Logo.fs" />
13+
<None Include="..\..\docs\img\icon.png" Pack="true" PackagePath="" />
14+
<Compile Include="PlotlyExtensions\StyleParam.fs" />
15+
<Compile Include="PlotlyExtensions\Utils.fs" />
16+
<Compile Include="PlotlyExtensions\ChartExtensions.fs" />
17+
<None Include="playground.fsx" />
1318
</ItemGroup>
1419

1520
<PropertyGroup>
@@ -19,18 +24,19 @@
1924

2025
</Summary>
2126
<PackageLicenseExpression>MIT</PackageLicenseExpression>
22-
<PackageProjectUrl>https://BioFSharp.github.io/BioFSharp.XYZ/</PackageProjectUrl>
27+
<PackageProjectUrl>https://BioFSharp.github.io/BioFSharp.Visualization/</PackageProjectUrl>
2328
<PackageIcon>icon.png</PackageIcon>
2429
<PackageTags>bioinformatics F# fsharp statistic biostatistics datascience</PackageTags>
25-
<RepositoryUrl>https://github.com/BioFSharp/BioFSharp.XYZ</RepositoryUrl>
30+
<RepositoryUrl>https://github.com/BioFSharp/BioFSharp.Visualization</RepositoryUrl>
2631
<RepositoryType>git</RepositoryType>
27-
<FsDocsLicenseLink>https://github.com/BioFSharp/BioFSharp.XYZ/blob/main/LICENSE</FsDocsLicenseLink>
28-
<FsDocsReleaseNotesLink>https://github.com/BioFSharp/BioFSharp.XYZ/blob/main/RELEASE_NOTES.md</FsDocsReleaseNotesLink>
32+
<FsDocsLicenseLink>https://github.com/BioFSharp/BioFSharp.Visualization/blob/main/LICENSE</FsDocsLicenseLink>
33+
<FsDocsReleaseNotesLink>https://github.com/BioFSharp/BioFSharp.Visualization/blob/main/RELEASE_NOTES.md</FsDocsReleaseNotesLink>
2934
</PropertyGroup>
3035

3136

3237
<ItemGroup>
3338
<PackageReference Include="BioFSharp" Version="2.0.0-preview.3" />
39+
<PackageReference Include="Plotly.NET" Version="6.0.0-preview.1" />
3440
</ItemGroup>
3541

3642
</Project>

0 commit comments

Comments
 (0)