This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Recently, I tried to upgrade [nf-core](https://nf-co.re/) on my Ubuntu Linux but the execution after installation failed with errors from a python module. | |
Upgrading the python library ["rich"](https://rich.readthedocs.io/en/stable/introduction.html) solved the issue. | |
Steps below: | |
``` | |
$ cat /etc/lsb-release | |
DISTRIB_ID=Ubuntu | |
DISTRIB_RELEASE=20.04 | |
DISTRIB_CODENAME=focal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Start/stop FortiClient VPN | |
# Last modified: ons mar 15, 2023 03:47 | |
# Sign: JN | |
# To disable starting forticlient after reboot: | |
# 1. Comment out the command (edit and add an `#` in front of the line) in file | |
# `/opt/forticlient/start-fortitray-launcher.sh` | |
# 2. `sudo systemctl disable forticlient-scheduler` | |
# After step 1 and 2 above, forticlient daemon will not start after reboot. To |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
=pod | |
=encoding utf8 | |
=head1 NAME | |
create_sample_sheet.pl - Create sample sheet from NGI delivery |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# blast2fasta | |
# Parse output from blast where we have sseq as the last column. | |
# For example (argument to blastn): "-outfmt '6 qseqid sseq'". | |
# Reads from file, writes to stdout. | |
# By Johan Nylander | |
# 2023-Oct-10 | |
# Usage: blast2fasta.sh file | |
file=$1 | |
awk '{printf ">%s", $1; for(i=2;i<NF;i++) printf " %s", $i; printf "\n%s\n", $NF}' "$file" |
OlderNewer