-
Notifications
You must be signed in to change notification settings - Fork 9
/
INSTALL
73 lines (42 loc) · 1.82 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# System requirements
The `rawrr` executable will run out of the box.
I you want to build on your own follow the text below.
## Compile and Link yourself
In case you prefer to compile `rawrr.exe` from C# source code, please install
the .NET 8.0
### Linux (debian:10/ubuntu:20.04) (debian:12/ubuntu:24)
```{sh}
## DEPRECIATED: sudo apt-get install mono-mcs mono-xbuild
sudo apt-get install dotnet-sdk-8.0
```
### macOS (Catalina/BigSur/.../Sequoia)
https://dotnet.microsoft.com/en-us/download
### Microsoft Windows
https://dotnet.microsoft.com/en-us/download
## Install the .NET assemblies
assemblies aka Common Intermediate Language bytecode
In general, ThermoFisher.CommonCore dlls can be obtained through:
https://github.com/thermofisherlsms/RawFileReader
or
by contacting Jim Shofstahl using
## build
* source nuget pkgs
* add libraries
* (cross)-dcompile and link
```
dotnet publish rawrr-dotnet.csproj --os osx -a x64 --output /Users/cp/Library/Caches/org.R-project.R/R/rawrr/rawrrassembly/osx-x64
dotnet publish rawrr-dotnet.csproj --os win -a x64 --output /Users/cp/Library/Caches/org.R-project.R/R/rawrr/rawrrassembly/win-x64
dotnet publish rawrr-dotnet.csproj --os linux -a x64 --output /Users/cp/Library/Caches/org.R-project.R/R/rawrr/rawrrassembly/linux-x64
## generates a ~110MB BLOB
dotnet publish -c Release -r linux-x64 -p PublishReadyToRun=true
dotnet publish -c Release -r win-x64 -p PublishReadyToRun=true
dotnet publish -c Release -r osx-x64 -p PublishReadyToRun=true
```
## Docker
The `Dockerfile` performing `R CMD build` and `R CMD check` requires
```
from bioconductor/bioconductor_docker:devel
run apt-get update && apt-get install dotnet-sdk-8.0 -y
run R -q -e "BiocManager::install(c('BiocStyle', 'ExperimentHub', 'knitr', 'protViz', 'rmarkdown', 'tartare', 'testthat'))"
```