Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
##fileformat=VCFv4.1 | |
##fileDate=20150619 | |
##source=freeBayes v0.9.20 | |
##phasing=none | |
##INFO=<ID=NS,Number=1,Type=Integer,Description="Number of samples with data"> | |
##INFO=<ID=DP,Number=1,Type=Integer,Description="Total read depth at the locus"> | |
##INFO=<ID=DPB,Number=1,Type=Float,Description="Total read depth per bp at the locus; bases in reads overlapping / bases in haplotype"> | |
##INFO=<ID=AC,Number=.,Type=Integer,Description="Total number of alternate alleles in called genotypes"> | |
##INFO=<ID=AN,Number=1,Type=Integer,Description="Total number of alleles in called genotypes"> | |
##INFO=<ID=AF,Number=.,Type=Float,Description="Estimated allele frequency in the range (0,1]"> |
name: skbio | |
channels: | |
- !!python/unicode | |
'bioconda' | |
- !!python/unicode | |
'r' | |
- !!python/unicode | |
'defaults' | |
dependencies: | |
- !!python/unicode |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Created on Thu Nov 14 10:18:35 2019 | |
@author: Paolo Cozzi <paolo.cozzi@ibba.cnr.it> | |
An etude of private methods on python and name mangling. For references, a | |
recap of underscore naming convenctions: |
# http://stackoverflow.com/questions/338285/prevent-duplicates-from-being-saved-in-bash-history | |
# remove duplicates while preserving input order | |
function dedup { | |
#awk '! x[$0]++' $@ | |
tac $@ | awk '! x[$0]++' | tac | |
} | |
# removes $HISTIGNORE commands from input | |
function remove_histignore { |