Hi I'm want to assemble isoseq full-length reads using Trinity the following trinity command. I have been getting the error below. Can anyone help me decipher what I'm doing wrong? less
My trinity command:
module load trinity/2.8.5
module load perl/5.24.1
Trinity --genome_guided_bam mastomys_sorted.bam --long_reads mastomys.ccs.fasta \
--genome_guided_max_intron 100000 \
--max_memory 35G --CPU 8
study species = Mastomys natalesis (The Natal multi-mammate mouse)
mastomys_sorted.bam = alignment file from Rsubread alignment using the Mouse genome (Mus muscullus)
mastomys.ccs.fasta = full-read conscesus file generated by isoseq 3
The error I'm getting:
Warning: didn't find at least 1000 BAM records properly ordered along a single scaffold... either the file contains few reads per scaffold or there may be a problem.
any assistance will be highly appreciated
humble regards
Charles
Trinity is complaining mastomys_sorted.bam has too few mapped reads, and it can't be sure if the bam file is properly sorted by coordinate, or if there is an error somewhere. Do you have mapping statistics from this file?
I truly appreciate your response.
I used the sublong function in RSubread R packages to map the raw reads to the mouse genome and the following passage is all the function returned as a report and the bam file (mastomys.bam).
And I sorted the bam file using the samtools to generate the file mastomys_sorted.bam I'm trying to assembly using Trinity.
Charles