Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaffold_curation:minimap2_align receives empty? or truncated file. #160

Open
mahesh-panchal opened this issue Jan 31, 2025 · 0 comments
Open

Comments

@mahesh-panchal
Copy link
Collaborator

samtools sort receives a truncated file in the pipe of the MINIMAP2_ALIGN process.

  [M::mm_idx_gen::51.363*1.39] collected minimizers
  [M::mm_idx_gen::57.010*1.83] sorted minimizers
  [WARNING] For a multi-part index, no @SQ lines will be outputted. Please use --split-prefix.
  [M::main::57.011*1.83] loaded/built the index for 81 target sequence(s)
  [M::mm_mapopt_update::57.919*1.82] mid_occ = 500
  [M::mm_idx_stat] kmer size: 19; skip: 19; is_hpc: 0; #seq: 81
  [M::mm_idx_stat::58.535*1.81] distinct minimizers: 98935066 (78.29% are singletons); average occurrences: 4.217; average spacing: 9.640; total length: 4022375851
  [E::sam_parse1] no SQ lines present in the header
  [W::sam_read1_sam] Parse error at line 3
  samtools sort: truncated file. Aborting
  [main_samview] fail to read the header from "-".

command

  minimap2 \
      --MD -x map-hifi \
      -t 6 \
      "Austropotamobius_torrentium_hifiasm-scaffolded-default_scaffolds_final.fa" \
      "m84045_240208_231139_s4.hifi_reads.fasta.gz" \
       \
       \
      -a | samtools sort | samtools view -@ 6 -b -h -o hifiasm-scaffolded-default_m84045_240208_231139_s4.hifi_reads.bam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant