You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[available in bioconda](https://bioconda.github.io/recipes/shorah/README.html).
39
+
We strongly advise you to install this package for a hassle-free experience.
40
+
41
+
conda install shorah
42
+
37
43
### Dependencies
38
44
shorah requires the following pieces of software:
39
45
40
-
1.**Python 2 or Python 3**, backward compatibility is provided as some current Linux distributions and OS X systems are still using 2.x as default. The required dependencies are:
46
+
1.**Python 3** The required dependencies are:
41
47
42
48
a) **Biopython**, and
43
49
b) **NumPy**.
44
-
These packages can be downloaded using pip or anaconda
50
+
These packages can be downloaded using pip or conda
45
51
46
-
2.**Perl**, for some scripts
52
+
2.**HTSlib** which is used to access bam/cram/sam and fasta files.
47
53
48
-
3.**zlib**, which is used by the bundled samtools for compressing bam files
54
+
3.**zlib**, which is used by HTSlib for compressing bam files
49
55
50
-
4.**pkg-config**, for discovering dependencies, which most Unix-like systems include
56
+
3.**pkg-config**, for discovering dependencies, which most Unix-like systems include
51
57
52
-
5.**GNU scientific library**, for random number generation
58
+
4.**Boost C++ library**, for random number generation
53
59
54
60
In addition, if you want to bootstrap the git version of shorah instead of using the provided tarballs,
55
61
you will need the GNU Autotools:
@@ -95,44 +101,49 @@ where `4` specifies the number of compilation threads to use. Finally, after com
95
101
96
102
All the programs should now be located in `/usr/local/shorah/bin`.
97
103
98
-
### Boostrapping from git
104
+
####Boostrapping from git
99
105
If you opted to clone the git repository instead of downloading a prepared tarball, you will need to bootstrap
100
106
the configure script:
101
107
102
-
autoreconf -vif
108
+
autoreconf -vif -I m4
103
109
104
110
After this, you can run the `configure` script as described previously.
105
111
106
112
107
113
#### Windows users
108
-
You can install and run `shorah` with [Cygwin](http://www.cygwin.com).
114
+
Since Windows 10, Microsoft provides the
115
+
[Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/about)
116
+
which enables a linux environment under Windows.
117
+
118
+
Users of older versions of Windows can can install and run `shorah` with [Cygwin](http://www.cygwin.com).
The whole global reconstruction consists of the following steps:
127
-
128
-
1. error correction (*i.e.* local haplotype reconstruction);
129
-
2. SNV calling;
130
-
3. removal of redundant reads;
131
-
4. global haplotype reconstruction;
132
-
5. frequency estimation.
133
-
134
-
These can be run one after the other, or one can invoke `shorah.py`, that runs
135
-
the whole process from bam file to frequency estimation and SNV calling.
136
147
137
148
## Coding style
138
149
All changes to the C++ code in `src/cpp` should always be formatted according to the included `.clang-format` style by doing
@@ -141,4 +152,11 @@ All changes to the C++ code in `src/cpp` should always be formatted according to
141
152
142
153
in the root of the repository.
143
154
144
-
All changes to the python code in `src/shorah` should always be formatted conforming to the [PEP 8](https://www.python.org/dev/peps/pep-0008/) style guide. To this end, we advise to use [autopep8](https://pypi.python.org/pypi/autopep8).
155
+
All changes to the python code in `src/shorah` should always be formatted conforming to the [PEP 8](https://www.python.org/dev/peps/pep-0008/) style guide. To this end, we advise to use [autopep8](https://pypi.python.org/pypi/autopep8).
156
+
157
+
## Contact
158
+
159
+
ShoRAH is maintained as part of the [V-pipe virus NGS pipeline](https://cbg-ethz.github.io/V-pipe/)
160
+
and you can [easily reach out the developers on its website](https://cbg-ethz.github.io/V-pipe/contact).
161
+
162
+
You can also report your problems in the [issue tracker on GitHub](https://github.com/cbg-ethz/shorah/issues).
0 commit comments