Commit 711099aa authored by Blaise Li's avatar Blaise Li
Browse files

Add option to filter according to strand.

parent 5caa8ef3
......@@ -13,7 +13,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <>.
"""Extracts the fastq reads from a bam file
"""Extract the fastq reads from a bam file
corresponding to the annotations provided in a bed file.
......@@ -38,6 +38,12 @@ def main():
"-a", "--bamfile",
help="Input bam file.")
"-s", "--strand",
choices=["Any", "Same", "Opposite"],
help="Choose hether to keep all reads or only "
"those on one strand with respect to bed annotations.")
args = parser.parse_args()
bamfile = BamFile(args.bamfile)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment