Psst! I've posted some details about my notebook setup here.

Improvements from applying filters at k-mer counting time in kevlar

Permalink: 2018-07-16 by Daniel S. Standage in blog tags: kevlar

One of the fundamental insights of the kevlar de novo variant caller is the framing of the variant discovery problem as a search for novel k-mers. In this case, "novel" means abundant in the focal sample and effectively absent from all control samples. In the early stages of creating kevlar, it quickly became clear that many k-mers satisfying these simple ...

more…

Loading paired reads from position-sorted BAM files

Permalink: 2018-06-12 by Daniel S. Standage in blog tags: ngs bam

BAM files with sequence alignments sorted by genomic position seem to be the new currency of exchange for large-scale human genome sequencing projects. This is convenient and practical in many ways for many people. But in my current research I work a lot with tools that only want/need the sequence information and, for whatever reasons, support only FASTA or ...

more…

Information content versus data volume and k-mer counting accuracy

Keeping track of k-mers for simple operations has become a fundamental component of many bioinformatics techniques. Two common operations on k-mers include set membership queries ("is k-mer X present in data set Y?") and abundance queries ("how many times does k-mer X occur in data set Y"). Several probabilistic data structures have been developed to support ...

more…

How to distinguish perfectly mapped reads from a SAM/BAM file

In which I explore read alignments in SAM format and discuss the pros and cons of various approaches to distinguishing perfect matches from imperfect matches.

more…

Super simple reverse-complement aware DNA sequence search with rcgrep

There are many wonderfully elegant and efficient tools for performing all sorts of exact and inexact searches on large collections of DNA sequences. Experience has shown, however, that these tools are usually very rigid with respect to their assumptions about input data. If input files are compressed in a certain way, or stored in a non-standard format, there is usually ...

more…

Streaming data from the SRA with fastq-dump

NCBI's Sequence Read Archive is the go-to repository for published genome-scale sequence data sets. Although there are a variety of ways to download sequence data from SRA, the fastq-dump command from the SRA Toolkit is the most convenient in my opinion. In fact, with a few settings tweaks fastq-dump can stream data directly from the SRA into an analysis ...

more…

Composing generator functions in Python

In which I briefly motivate the utility of generator functions and demonstrate that they can be nested to create a data processing stream.

more…

Thoughts on research software from the PSRN workshop

In which I ramble on about experimental science, research software, and cyberinfrastructure engineering.

more…

My thoughts on the PSRN workshop on cyberinfrastructure and training

I am on my way home from a workshop on cyberinfrastructure and postgraduate training hosted by the Plant Science Research Network. It was a grueling three-day sprint, but it brought together a phenomenal diversity of experience and perspectives on the relevant issues. I wanted to summarize my thoughts while they are still fresh in my head. Beware: what follows is ...

more…

An idiot's guide to loading reads from a BAM file

tl;dr? It's fine, just ignore secondary/supplementary alignments and don't disable reporting of unaligned reads.

more…