Skip to content

Instantly share code, notes, and snippets.

View hsiaoyi0504's full-sized avatar
🎯
Focusing

hsiao yi hsiaoyi0504

🎯
Focusing
View GitHub Profile
@hsiaoyi0504
hsiaoyi0504 / si650_final_evaluation.md
Last active December 15, 2021 01:24
Final Evaluation

| | NDCG| |------------------------------| | Baseline (BM25) | 0.674 | | BM25 with customized parameters| 0.691| | Stemming methods| | Krovetz stemmer with default BM25 parameters | 0.653 | |No stemming with default BM25 parameters| 0.664| |Query Expansion| |RM3 query expansion with default BM25 parameters|0.684| |RM3 query expansion with customized BM25 parameters|0.695|

@hsiaoyi0504
hsiaoyi0504 / install-samtools-bcftools-and-htslib.md
Created March 21, 2021 16:17 — forked from adefelicibus/install-samtools-bcftools-and-htslib.md
Install samtools, bcftools and htslib on linux

Install Samtools, BCFTools and htslib on linux

Install some build dependencies

sudo apt-get install autoconf automake make gcc perl zlib1g-dev libbz2-dev liblzma-dev libcurl4-gnutls-dev libssl-dev libncurses5-dev

[samtools]

@hsiaoyi0504
hsiaoyi0504 / .block
Last active May 21, 2019 09:35 — forked from Ananda90/.block
Radar Chart D3 V4 (also tested on v5)
height: 650
@hsiaoyi0504
hsiaoyi0504 / .block
Last active July 23, 2019 01:27 — forked from arpitnarechania/.block
Confusion matrix visualization based on D3.js v5.9.2
license: MIT
@hsiaoyi0504
hsiaoyi0504 / learning_git.md
Last active July 20, 2018 01:42
Lists of resource that I recommend for learning git and as a handbook.
@hsiaoyi0504
hsiaoyi0504 / install_chocolatey.ps1
Created June 13, 2018 15:21
My script for installing chocolatey
# Need to execute "Set-ExecutionPolicy RemoteSigned -Scope CurrentUser" before executing this script
# Set directory for installation - Chocolatey does not lock
# down the directory if not the default
$InstallDir='C:\Users\Yi.Hsiao\Documents\chocoportable'
$env:ChocolateyInstall="$InstallDir"
# If your PowerShell Execution policy is restrictive, you may
# not be able to get around that. Try setting your session to
# Bypass.
Set-ExecutionPolicy Bypass
USER_ID: 1984, GROUP_ID: 100
nss_wrapper location: /usr/lib/libnss_wrapper.so
AMBERHOME = /headless/amber17
/headless/amber17/lib/python3.6/site-packages/
------------------ update chromium-browser.init ------------------
... set window size 1024 x 768 as chrome window size!
#!/bin/bash
cd ~
perl -MNet::FTP -e \
'$ftp = new Net::FTP("ftp.ncbi.nlm.nih.gov", Passive => 1);
$ftp->login; $ftp->binary;
$ftp->get("/entrez/entrezdirect/edirect.tar.gz");'
gunzip -c edirect.tar.gz | tar xf -
rm edirect.tar.gz
builtin exit
export PATH=$PATH:$HOME/edirect >& /dev/null || setenv PATH "${PATH}:$HOME/edirect"
@hsiaoyi0504
hsiaoyi0504 / fetch_file.py
Last active July 19, 2018 15:36
fetch file and run assembly metrics calculation
from __future__ import print_function
from bs4 import BeautifulSoup
from requests import get
from os import mkdir, remove
from os.path import exists
import re
from six.moves import urllib
from subprocess import run, PIPE
@hsiaoyi0504
hsiaoyi0504 / faq.md
Last active November 3, 2017 01:32
Common FAQ of git I encountered
  • How do I force “git pull” to overwrite local files ? StackOverFlow
  • How to remove data from git history? Github Help
  • Rename master branch for both local and remote Git repositories StackOverFlow
  • How do I delete a Git branch both locally and remotely? StackOverFlow