Tabix
command of htslib can query a locus to a remote s3 file using s3://
protocol.
$ aws s3 ls s3://your_bucket/
vcf.gz
vcf.gz.tbi
$ tabix -l s3://your_bucket/vcf.gz
chr1
chr2
Tabix
command of htslib can query a locus to a remote s3 file using s3://
protocol.
$ aws s3 ls s3://your_bucket/
vcf.gz
vcf.gz.tbi
$ tabix -l s3://your_bucket/vcf.gz
chr1
chr2
#!/usr/bin/env python | |
import os | |
import sys | |
import time | |
from pathlib import Path | |
from selenium import webdriver | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC | |
from selenium.webdriver.common.by import By |
#!/bin/bash | |
pip install yt-dlp | |
yt-dlp -f "bv*+ba/b" "https://www.youtube.com/watch?v=wmc-oKHvZsA" |
#!/bin/bash | |
in_fn=${1} | |
aws_s3_bucket=${2} | |
aws_s3_dest_storage_class=${3} | |
while IFS= read -r line; do | |
aws_s3_key=$(echo "${line}" | cut -d' ' -f1) | |
aws_s3_path="s3://${aws_s3_bucket}/${aws_s3_key}" | |
echo "Moving [${aws_s3_path}] to storage class [${aws_s3_dest_storage_class}]" |
#!/usr/bin/env python | |
import sys | |
import pandas as pd | |
i_fn = sys.argv[1] | |
if not i_fn: | |
raise Exception("Error: Missing input file") |
#!/usr/bin/env python | |
import sys | |
import json | |
genes = [] | |
for line in sys.stdin: | |
elems = line.rstrip().split('\t') | |
chromosome = elems[0] |
chr7 5563000 5573000 TxFlnk 10.26175 + | |
chr17 39843800 39853800 TxFlnk 10.16751 + | |
chr6 32935400 32945400 TxFlnk 10.10112 + | |
chr22 39915200 39925200 TxFlnk 10.02993 + | |
chr17 79475800 79485800 TxFlnk 9.96371 + | |
chr11 65264200 65274200 TxFlnk 9.72111 + | |
chr19 3977800 3987800 TxFlnk 9.71104 + | |
chr12 56551000 56561000 TxFlnk 9.69233 + | |
chr1 234739400 234749400 TxFlnk 9.66319 + | |
chr20 42085400 42095400 TxFlnk 9.66160 + |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Client-side BED file upload test</title> | |
</head> |
const PORT_NUMBER = 3000; | |
// Requiring express for routing | |
const express = require('express'); | |
// Creating app from express | |
const app = express(); | |
// Requiring in-built file system | |
const fs = require('fs'); |