Skip to content

Commit 38cbb9e

Browse files
committed
Cleanup BWA.
1 parent 417a7ee commit 38cbb9e

2 files changed

Lines changed: 35 additions & 2 deletions

File tree

wq_bwa/README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
Work Queue BWA
2+
--------------
3+
4+
The wq_bwa.py program aligns sequences of genomes listed in a fastq file using
5+
the Burrows-Wheeler Aligner. It aligns by partitioning the file into pieces
6+
containing one or more sequences and running BWA to align them individually.
7+
The program uses the Work Queue framework for distributed execution.
8+
9+
Installation
10+
------------
11+
12+
- Install the [Work Queue](http://ccl.cse.nd.edu/software/workqueue) framework.
13+
- Install BWA and its required dependencies from http://bio-bwa.sourceforge.net
14+
15+
Example
16+
-------
17+
18+
First start the manager program, which will divide up the queries
19+
and generate a large number of tasks:
20+
21+
./wq_bwa <REFERENCE_FILE> <FASTQ_FILE>
22+
23+
Then, run one or more remote workers:
24+
25+
work_queue_worker -d all <HOSTNAME> <PORT>
26+
27+
where <HOSTNAME> is the name of the host on which the master is running
28+
<PORT> is the port number on which the master is listening.
29+
30+
Alternatively, you can also specify a project name for the master and use that
31+
to start workers:
32+
33+
./wq_bwa <REFERENCE_FILE> <FASTQ_FILE> -N WQBWA
34+
work_queue_worker -d all -N WQBWA

wq_bwa/wq_bwa renamed to wq_bwa/wq_bwa.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#!/usr/bin/env cctools_python
2-
# CCTOOLS_PYTHON_VERSION 2.7
1+
#!/usr/bin/python
32

43
# Copyright (c) 2019- The University of Notre Dame.
54
# This software is distributed under the GNU General Public License.

0 commit comments

Comments
 (0)