설명 없음

Thomas f83fe9a647 completing info and format 1 년 전
jq_filters f83fe9a647 completing info and format 1 년 전
src f83fe9a647 completing info and format 1 년 전
.gitignore 494efb6235 run 1 년 전
Cargo.lock 605ee768fb json somatic stats 1 년 전
Cargo.toml 605ee768fb json somatic stats 1 년 전
README.md f83fe9a647 completing info and format 1 년 전

README.md

Install

Dependencies

For building required HTSlib:

sudo apt install cmake libclang-dev

Usage

Use jq for selecting variants

  • Somatic Variants of chrM (25)

    zcat /data/longreads_basic_pipe/*/diag/somatic_variants.json.gz | \
    jq -L ./jq_filters -C 'include "jq_variants"; [.data[] | select(contig("chrM") and n_in_constit <= 1) | format]'
    

Using jq and find to look for chrM norm coverage

find /data/longreads_basic_pipe/ -name "*_diag_hs1_info.json" -type f -exec sh -c 'basename $(dirname $(dirname "{}")) | tr -d "\n"' \; -printf "\t" -exec jq -L ./jq_filters -r 'include "jq_bam"; contig_coverage("chrM")' {} \;