Bash oneliner to extract all ids from a multifasta file
#List of ids - one per line in allIds.txt $ awk 'BEGIN{while((getline0)l[">"$1]=1}/^>/{f=!l[$1]}f' seq.fa # You can play with this f=!l[$1 ] if wanted to extract or not extract the ids1597 days ago
Install Parrot Virtual Machine !
...ompile and execute bytecode for dynamic languages jit@jit-HP-Pro-3335-MT:~/Downloads/parrot-8...its configuration. do "lib/Parrot/Config/Generated.pm" faile................yes. auto::backtrace - Does libc have the b...d. auto::neg_0 - Determine whether negative zero can...1596 days ago
1584 days ago
1584 days ago
1584 days ago
1583 days ago
Correct bash command to zip your vcf file
bgzip -c file.vcf > file.vcf.gz tabix -p vcf file.vcf.gz #More at http://www.htslib.org/doc/tabix.html1582 days ago
Install conda on remote server !
...se take a look at the Anaconda repo archive page https://repo.continuum.io/archive/ and select an approp...install. $ wget -c https://repo.continuum.io/archive/Anaco...nda3-5.0.1-Linux-x86_64.sh OR try this # Go to home dire...anaconda/bin:$PATH"' >> ~/.bashrc # Refresh basically sou...1579 days ago
Exit Bash Script When Any Command Fails
...fails #Putting this at the top of a bash script will cause the script to exit if any commands re...it when any command fails set -e # keep track of the last executed comma...# enable !! command completion set -o history -o histexpand...1579 days ago
1573 days ago