2021-04-29 01:27:56 +00:00
|
|
|
# SC2 Sequencing Cheats
|
2021-04-01 15:23:42 +00:00
|
|
|
|
2021-04-29 01:27:56 +00:00
|
|
|
File manipulation/bioinformatics-type scripts that my colleuges have found
|
|
|
|
useful in sequencing SARS-CoV2 (SC2).
|
2021-04-01 15:23:42 +00:00
|
|
|
|
2021-04-13 19:58:00 +00:00
|
|
|
These scripts have various purposes, uses, and instructions. The only unifying
|
2021-04-29 01:27:56 +00:00
|
|
|
thing about them is that they were all written for SC2 and related sequencing.
|
|
|
|
Please check the `README` file in each directory for more detailed instructions.
|
2021-04-01 15:23:42 +00:00
|
|
|
|
|
|
|
## Encryption
|
|
|
|
|
2021-04-13 19:58:00 +00:00
|
|
|
**NOTICE:** Some files in this repository are encrypted using
|
|
|
|
[git-crypt](https://github.com/AGWA/git-crypt). git-crypt works on a
|
|
|
|
repository-wide basis, meaning that decryption must occur on the entire
|
|
|
|
repository.
|
2021-04-01 15:23:42 +00:00
|
|
|
|
|
|
|
### Installing git-crypt
|
|
|
|
|
|
|
|
#### Ubuntu, Debian, etc.
|
|
|
|
|
|
|
|
```bash
|
2021-04-13 19:58:00 +00:00
|
|
|
sudo apt-get install git-crypt -y
|
2021-04-01 15:23:42 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
#### Fedora, CentOS, RHEL, etc.
|
|
|
|
|
|
|
|
```bash
|
2021-04-13 19:58:00 +00:00
|
|
|
sudo yum install git-crypt -y
|
2021-04-01 15:23:42 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
#### MacOS
|
|
|
|
|
|
|
|
Install [Homebrew](https://brew.sh/) first. Then
|
|
|
|
|
|
|
|
```bash
|
2021-04-13 19:58:00 +00:00
|
|
|
brew install git-crypt
|
2021-04-01 15:23:42 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
#### Windows
|
|
|
|
|
2021-04-13 19:58:00 +00:00
|
|
|
There are no official git-crypt builds for Windows. I repeat, **git-crypt does
|
|
|
|
not exist for Windows** regardless of what others may tell you. If possible, you
|
|
|
|
may use the [Windows Subsystem for
|
|
|
|
Linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10), but you
|
|
|
|
cannot use native git-crypt.
|
2021-04-01 15:23:42 +00:00
|
|
|
|
|
|
|
### Decrypting the repository
|
|
|
|
|
2021-04-13 19:58:00 +00:00
|
|
|
Encryption is GPG-based. If your GPG key has been added to the repository (you
|
|
|
|
know if you have access), then run
|
2021-04-01 15:23:42 +00:00
|
|
|
|
|
|
|
```bash
|
2021-04-29 01:27:56 +00:00
|
|
|
git clone https://github.com/MillironX/sc2-sequencing.git && cd sc2-sequencing
|
2021-04-13 19:58:00 +00:00
|
|
|
git-crypt unlock
|
2021-04-01 15:23:42 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
The files will now be decrypted and can be usable.
|
|
|
|
|
2021-04-13 19:58:00 +00:00
|
|
|
If you need to copy your GPG keys to a new machine to be able to decrypt the
|
|
|
|
files, follow the instructions at
|
2021-04-29 01:27:56 +00:00
|
|
|
<https://www.phildev.net/pgp/gpg_moving_keys.html> under "Copy Just Your Keys."
|