Pilon version 1.23
Pilon version 1.23 introduces two new experimental arguments to specify long read input BAMs:
--nanopore ont.bam identifies ont.bam as containing long reads from Oxford Nanopore sequencing
--pacbio pb.bam identifies pb.bam as containing long reads from Pacific Biosciences sequencing
In this version, the long read BAMs are only used for SNP and indel calling based on pileups. Long reads are not yet used for local reassembly or gap filling, but that will likely come in a future release. For development, I have been using minimap2 to generate the long read BAM files.
Currently, use of long reads is most effective in combination with Illumina --frags libraries, so that Pilon can use the high base quality of the Illumina libraries for unique sequence and use the long reads to reach into repeat sequence to disambiguate embedded differences. It is possible to use only long reads as input to Pilon, but consider that very experimental.
There are limitations in Pilon's use of long reads in pileups: for both --pacbio and --nanopore libraries, Pilon does not attempt to call indels in homopolymer runs of 4 or more bases (e.g., AAAA...), and for --nanopore sequence, Pilon does not use the long reads to call the middle base of a CCxGG motif, as the ONT base calls can be confused by methylation. So this is very basic long read support, but it has been effectively applied to more than a dozen bacterial genomes in conjunction with Illumina paired-end sequencing.
In addition to the long read support, v1.23 fixes a couple of bugs:
- Spurious long indels were occasionally called in pileups with minimal evidence
- A crash could occur when an indel was called at the beginning of a scaffold
Finally, this version updates the code base to use the Scala 2.12 compiler, uses a newer version of the htsjdk library, and is packaged with the sbt-assembly module instead of sbt-onejar.