-
Notifications
You must be signed in to change notification settings - Fork 423
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
Warning: no @SQ lines will be outputted #58
Comments
What reference genome are you using? What is the total length of all sequences in |
Homo_sapiens.GRCh38.fa Human genome built 38 |
Is this "toplevel" file from Ensembl? If yes, you should use this file instead:
|
Is this human genome? |
Ensembl's "toplevel" fasta is very confusing and should be avoided in general. See this discussion here. |
The FTP link above is the official version from GRC. |
Thank you very much. If I download the "Reference Genome Sequence" from:https://www.ncbi.nlm.nih.gov/projects/genome/guide/human/ will it work fine? |
Thank you very much. I have started the index building again with the link you provided. |
Your new link doesn't give you chromosome sequences, apparently. Anyway, the right GRCh38 for most analyses is the FTP link above. It seems that I need to write a blog post to explain the differences between the different versions... |
I will keep this open until you confirm minimap2 works properly. Meanwhile, I will write a blog post to explain the different genome versions. |
Hello, However, how does minimap2 creates a stat file. |
Unfortunately, minimap2 doesn't keep track of these information. You have to use 3rd-party tools like |
Okay. Sure. Thank you very much for the help. I really appreciate it. |
Welcome. I am closing the issue now. Thanks! |
Hello, Is there any way I could download the official version of GRC for build 37? I greatly appreciate your help. Thank you. |
Thank you very much. This is really helpful. |
Hello, as per your blog I have used the reference GRCh 37 in my alignment. However, when I try to visualize the alignment in IGV (using the GRCh37/hg19 included in IGV) I could not see the specific gene I am interested in with the coordinates I have. (which I could see with GRCh38.) Do I need to download gene list for the reference you provided and load the genome on IGV? |
Hi, I'm running minimap2 on a reference genome for wheat stripe rust and having the same issue, and receive this error message: [WARNING] For a multi-part index, no @sq lines will be outputted. Here's the reference genome: http://mbio.asm.org/content/9/1/e02275-17 |
Could you send me the exact reference fasta to me? Thanks. |
The reference fasta are available here: I used the 'Pst_104E_v13_p_ctg.fa' file and also combined it with the 'Pst_104E_v13_h_ctg.fa' to get the primary and haplotype assembly. |
Could you put the exact fasta you use somewhere? If this is a bug, it will only happen in extreme cases. Files created at my hand may not reproduce the issue. Thank you. |
Also, what is the command line and the version of minimap2 are you using? (BTW, I am unable to reproduce the issue on my machine) |
I'm using minimap2 version 2.8-r711. Here is the link to the exact fasta files and also the fastq inputs I used for mapping: I tried mapping to the primary and haplotype (ph) reference genome, and then only the primary (p), but still get the same SQ error. Both the reference genomes are in the linked file. Here is the command line: |
When you map to a reference genome, the reference fasta should be the first argument. You are putting the reference as the second argument. |
I mean: the command line should be:
Anyway, thanks for reporting! |
Hello Congrats for this excellent and useful software!
The problem is that no Best, |
See FAQ. |
I am working on Oxford nanopore reads(1D). I am using Minimap2 for aligning it to the human genome. I made an index file for the human genome to be used as a reference. when I started the alignment I got following warning.
"For a multi-part index, no @sq lines will be outputted"
The alignment is finished. The .sam file does not contain any @sq headers, as a result, I could not get any mapping statistics using samtools flagstat.
The command I used for building index:
minimap2 -d ref.mmi ref.fa
The command I used for alignment:
minimap2 -ax map-ont ref.fa ont-reads.fa > aln.sam
I am not sure why I am getting this warning.
The text was updated successfully, but these errors were encountered: