<?xml version='1.0'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
	<title><![CDATA[BOL: Mapping with BWA-mem or BWA-sampe in one go with python script !]]></title>
	<link>https://bioinformaticsonline.com/snippets/view/36933/mapping-with-bwa-mem-or-bwa-sampe-in-one-go-with-python-script?</link>
	<atom:link href="https://bioinformaticsonline.com/snippets/view/36933/mapping-with-bwa-mem-or-bwa-sampe-in-one-go-with-python-script?" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/snippets/view/36933/mapping-with-bwa-mem-or-bwa-sampe-in-one-go-with-python-script</guid>
	<pubDate>Thu, 14 Jun 2018 06:37:37 -0500</pubDate>
	<link>https://bioinformaticsonline.com/snippets/view/36933/mapping-with-bwa-mem-or-bwa-sampe-in-one-go-with-python-script</link>
	<title><![CDATA[Mapping with BWA-mem or BWA-sampe in one go with python script !]]></title>
	<description><![CDATA[<code>BAM files and mapping
BESST requires sorted and indexed BAM files as input. Any read aligner + samtools can be used to obtain such files. Read pairs needs to be aligned in paired read mode. BESST provides a script (https://github.com/ksahlin/BESST/blob/master/scripts/reads_to_ctg_map.py) for obtaining sorted and indexed BAM files with BWA-mem or BWA-sampe in one go. An example call for mapping with this script is

python reads_to_ctg_map.py /path/to/lib1_A.fq /path/to/lib1_B.fq /path/to/contigs.fasta --threads N
where N is an integer specifying how many threads BWA-mem should use. --nomem can be specified to the above call to use BWA-sampe as the paired read alignment pipeline.

https://github.com/ksahlin/BESST/blob/master/scripts/reads_to_ctg_map.py</code>]]></description>
	<dc:creator>Jit</dc:creator>
</item>

</channel>
</rss>