Hi,
I had consensus reads (ccs.bam) from a PacBio sequencing. I used the assembler hifiasm to create an assembly on these CCS. I got five .gfa files. I have transformed .gfa file using bandage and awk command. Contigs from de novo assemblies (.fasta file) were used in standalone blast against reference genome. I have the coordinates which mapped to the reference genome.
I am interested to align .fasta and reference genome using pbmm2
A. Generate index file for reference and reuse it to align reads
$ pbmm2 index xxx.fasta xxx.mmi
B. Align contig yyy.fasta to reference genome file (xxx.mmi)
pbmm2 align xxx.mmi xxx.fasta
However, I am getting this error.
|> 20210517 18:05:07.939 -|- WARN -|- CheckPositionalArgs -|- 0x11a162dc0|| -|- Input is FASTA. Output BAM file cannot be used for polishing with GenomicConsensus!
How to fix this issue.
Thanks
I have assemblies from IPA as well as from Hifiasm. However, hifiasm are longer as compared to IPA therefore, I am proceeding with hifiasm.
However, the command is being killed
zsh: killed pbmm2 align xxx.fasta yyy.fasta
It might help to get a more detailed log from pbmm2. You can get a debug trace with
--log-level DEBUG
that might help you spot where/why pbmm2 is being killed.https://github.com/PacificBiosciences/pbmm2#can-i-get-progress-output
pbmm2 align yyy.fasta xxx.fasta --log-level DEBUG
Sorry I missed this message. None of the messages in your log are fatal. These are all
DEBUG
/INFO
/WARN
messages. Is this the entire log before the command is killed?