Recent Releases of https://github.com/brentp/goleft

https://github.com/brentp/goleft - covstats denominator

v0.2.6

  • covstats: fix denominator in unmapped (#73)

- Go
Published by brentp about 2 years ago

https://github.com/brentp/goleft - cram scaling

Indexcov was tuned on bam indexes. The cram (crai) indexes always looked much worse. See below for a before and after on the same data.

This required indexcov to be run with the --extranormalize flag. This is highly recommended if you are using crai files. It can clean up bam data as well. A reason to not use it would be if you want to do your own scaling/cleanup on the (more) raw data.

before: idx-indexcov-depth-chr5

after: idx-indexcov-depth-chr5-new

- Go
Published by brentp over 5 years ago

https://github.com/brentp/goleft - header fix

- Go
Published by brentp about 6 years ago

https://github.com/brentp/goleft - indexcov maintenance

v0.2.2

  • indexcov: better message on empty crai
  • indexcov: allow sending indexes as globs (to avoid argument length limit)
  • indexcov: if expected sex chroms are X,Y also find chrX,chrY (and use sorted order for output)

- Go
Published by brentp about 6 years ago

https://github.com/brentp/goleft - support for bai without .bams

v0.2.1

  • indexcov:more defense for bad crai's
  • indexcov: now works on just *.bai if a .fai is also given with -f.

- Go
Published by brentp about 7 years ago

https://github.com/brentp/goleft - minor bugfixes for indexcov and indexsplit

v0.2.0

  • indexcov: better error message and handling of excluded chromosomes.
  • indexcov: if given crais and no fai, indexcov will try to read the cram header using samtools view.
  • indexsplit: fix rare panic in CRAI files due to an off-by-one error (thanks Lavanya for reporting and providing a test-case).

- Go
Published by brentp over 7 years ago

https://github.com/brentp/goleft - crai with long reads

v0.1.19

  • indexcov: fix for long reads with cram. (#43)

- Go
Published by brentp almost 8 years ago

https://github.com/brentp/goleft - more cram fixes for indexcov

v0.1.18

  • indexsplit: fix off-by-one that resulted in double-counting some regions.
  • indexcov: cram edge-cases.
  • indexcov: better normalization to 1 for all cases. Fixes bug for bams with many (e.g. > 10K) chromosomes of which many have very low or normalization coverage. (#36)

- Go
Published by brentp almost 8 years ago

https://github.com/brentp/goleft - CRAI fixes, better sex CN counting

v0.1.17

  • indexcov: dont error when no sex chromosomes are found (#27).
  • indexcov: dont error when some chromosomes have a single region and others have 0.
  • indexcov: better checking on short sex chroms and other CRAI fixes.

(thanks to Javier Prado for several test-cases on CRAM)

- Go
Published by brentp over 8 years ago

https://github.com/brentp/goleft - v0.1.16

v0.1.16

  • indexcov: report and plot number of mapped and unmapped reads as reported by the index.
  • covmed: rename to covstats
  • covstats: report samplename(s) from read groups as well as bam path.
  • covstats: skip first 100K reads to give better estimates of depth.
  • covstats: report percent of bad (QC-Fail|Duplicate) and of umapped reads.
  • indexcov: automatically exclude chromosomes that match pattern: ^chrEBV$|^NC|_random$|Un_|^HLA\-|_alt$|hap\d$. this can be adjusted from the command-line.

- Go
Published by brentp almost 9 years ago

https://github.com/brentp/goleft - samplenames

v0.1.15

  • indexsplit: more closely match request number of regions.
  • indexsplit: allow specifying "problematic" regions which are split more finely.
  • samplename: new tool report the sample name of a bam from the read-group in its header.

- Go
Published by brentp almost 9 years ago

https://github.com/brentp/goleft - indexcov cram support and indexsplit

  • indexcov: speed and memory improvements.
  • indexcov: support crai.
  • indexcov: prettier plot and labels for pngs.
  • indexcov: bin plot shows proportions rather than total numbers.
  • indexcov: better messages and docs for --sex argument.
  • indexsplit: new tool to generate regions for parallelization (from bam/cram indexes) see

- Go
Published by brentp almost 9 years ago

https://github.com/brentp/goleft - various fixes

v0.1.13

  • covmed: better coverage estimate by scaling by dup|qcfail|secondary.
  • covmed: report 5th and 95th percentile of insert size.
  • indexcov: make index.html even when no sex chromosomes are present.
  • depth: quote reference and chromosome name.

- Go
Published by brentp about 9 years ago

https://github.com/brentp/goleft - indexcov usability

v0.1.12

  • indexcov: --sex is now specified as a comma-delimited string
  • indexcov: handle a single sample (see #16 )
  • indexcov: functional tests.
  • indexcov: add "slope" output which indicates the slope of the coverage plot between ~0.85 and ~1.15. this matches bins.out fairly well, but it is another metric to look at.
  • indexcov: general error handling and message improvements (and thanks @chapmanb for test-cases)

- Go
Published by brentp about 9 years ago

https://github.com/brentp/goleft - index.html for indexcov

  • indexcov now outputs a nice index.html summary page with inline help.
  • note that indexcov takes a --directory/-d argument rather than a --prefix/-p argument.

an interactive example of the new output from indexcov is here

v0.1.11

  • indexcov: much better docs.
  • indexcov: make plots a saner size.
  • indexcov: output an index.html page that summarizes findings and links to other pages. the index contains static pngs for coverage and depth that link to the interactive HTML pages for each chromosome.
  • indexcov: remove --prefix argument in favor of -d/--directory and write the overview page index index.html

- Go
Published by brentp about 9 years ago

https://github.com/brentp/goleft - indexcov improvements

v0.1.10

  • report correct version # (v0.1.9 reported 0.1.8 from CLI)
  • indexcov: bigger hit radius in plots == easier to mouse-over points
  • indexcov: use vOffset for better resolution of (estimated) depth.
  • indexcov: ~2X faster due to optimizations in biogo/hts and buffered IO.
  • indexcov: PCA and dosage bias plots (values also reported in .ped file).

- Go
Published by brentp about 9 years ago

https://github.com/brentp/goleft - indexcov

In addition to the improvements listed below, there are new docs showing from indexcov: https://brentp.github.io/goleft/indexcov/ex-indexcov-roc.html

v0.1.9

  • indexcov: fix for sparse bams and other edge-cases.
  • indexcov: performance improvements.
  • indexcov: output html with plot of coverage.
  • indexcov: plot and report sex inferred from coverage on allosomes.

- Go
Published by brentp about 9 years ago

https://github.com/brentp/goleft - indexcov header

v0.1.8

  • indexcov: output header with sample names.

- Go
Published by brentp about 9 years ago

https://github.com/brentp/goleft - indexcov

v0.1.7

  • fix bug in goleft depth where some lines were output multiple times.
  • add covmed subprogram to calculate median coverage, mean and sd of insert size quickly.
  • add depthwed to make a matrix file from multiple .depth files from goleft depth.
  • goleft depth will always output windows of the exact size requested, previously if 10MB was not a multiple of windowsize, we'd get smaller windows at the edge.
  • new tool: indexcov: very fast calculation of relative coverage using the bam index.

- Go
Published by brentp about 9 years ago

https://github.com/brentp/goleft -

- Go
Published by brentp over 9 years ago

https://github.com/brentp/goleft -

- Go
Published by brentp over 9 years ago

https://github.com/brentp/goleft -

- Go
Published by brentp over 9 years ago

https://github.com/brentp/goleft -

- Go
Published by brentp over 9 years ago

https://github.com/brentp/goleft -

- Go
Published by brentp over 9 years ago

https://github.com/brentp/goleft - depth compat with bcbio

- Go
Published by brentp over 9 years ago

https://github.com/brentp/goleft - initial release

pre-release of a linux64 binary with the goleft depth functionality.

- Go
Published by brentp over 9 years ago