aboutsummaryrefslogtreecommitdiff
path: root/tools/bwa.nix
blob: 58f96513886122bbb8e6900d4046204a5d00feb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ bionix }:

with bionix;

rec {
  /* Align read against a reference: defaults to bwa-mem */
  align = bwa-mem;

  /* Align reads against a reference using bwa-mem
  Type: bwa-mem :: {ref :: fasta, bamOutput :: bool, ...} -> {input1, input2} -> bam/sam
  */
  bwa-mem = callBionixE ./bwa-mem.nix;
  /* Creates an reference index for BWA
  Type: index :: {...} -> fasta -> BWA index
  */
  index = callBionixE ./bwa-index.nix;
}