File: EXAMPLES.md

package info (click to toggle)
blasr 5.3.5%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,196 kB
  • sloc: cpp: 8,412; ansic: 806; python: 331; sh: 178; java: 158; makefile: 36
file content (48 lines) | stat: -rw-r--r-- 1,793 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
## Running BLASR

  Typing 'blasr -h' or 'blasr -help' on the command line will give you a
  list of options.  At the least, provide reads and a genome, where reads file format can be
  bam|dataset|fasta|fastq|bas.h5, and genome file format can be fasta|ReferenceSet.

### Some typical use cases

Align subreads in movie.subreads.bam to ecoli_K12 genome, and output in BAM format.

    blasr movie.subreads.bam ecoli_K12.fasta --bam --out alignments.bam

Align subreads in movie.subreadset.xml to ecoli_K12 genome, and output in BAM format.

    blasr movie.subreadset.xml ecoli_K12.fasta --bam --out alignments.bam

Align subreads in movie.subreadset.xml to ecoli_K12 genome ReferenceSet, and output in BAM format.

    blasr movie.subreadset.xml ecoli_K12.referenceset.xml --bam --out alignments.bam

Align CCS reads in movie.consensusreadset.xml to ecoli_K12 genome, and output in BAM format.

    blasr movie.consensusreadset.xml ecoli_K12.fasta --bam --out alignments.bam

Use multiple threads, e.x., 16 threads

    blasr movie.subreads.bam ecoli_K12.fasta --nproc 16

Include a larger minimal match, for faster but less sensitive alignments

    blasr movie.subreads.bam ecoli_K12.fasta --minMatch 15

Produce alignments in a pairwise human readable format

    blasr movie.subreads.bam ecoli_K12.fasta -m 0

Use a precomputed suffix array for faster startup

    sawriter ecoli_K12.fasta.sa ecoli_K12.fasta #First precompute the suffix array
    blasr movie.subreads.bam ecoli_K12.fasta --sa ecoli_K12.fasta.sa

Align RSII reads from reads.bas.h5 to ecoli_K12 genome, and output in SAM format.

    blasr reads.bas.h5  ecoli_K12.fasta --sam --out alignments.sam

Same as above, but with soft clipping

    blasr reads.bas.h5  ecoli_K12.fasta --sam --clipping soft --out alignments.sam