[go: nahoru, domu]

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

Behaviour of the "--no-self" option #133

Closed
ghost opened this issue Mar 13, 2018 · 2 comments
Closed

Behaviour of the "--no-self" option #133

ghost opened this issue Mar 13, 2018 · 2 comments
Labels

Comments

@ghost
Copy link
ghost commented Mar 13, 2018

Hello,
my question is simple. I am calling minimap2 like this
minimap2 -k15 -w5 -p0 -g10000 --no-self splitted.fa splitted.fa
Here is sample output

contig1125_size18652167_part_329	5000	19	4488	+	contig1125_size18652167_part_329	5000	227	4666	77	4469	0	tp:A:P	cm:i:13	s1:i:71	s2:i:71
contig1125_size18652167_part_329	5000	227	4666	+	contig1125_size18652167_part_329	5000	19	4488	77	4469	0	tp:A:S	cm:i:13	s1:i:71
contig1125_size18652167_part_329	5000	219	283	+	contig1125_size18652167_part_328	5000	3555	3619	53	64	0	tp:A:S	cm:i:10	s1:i:53
contig1125_size18652167_part_329	5000	4001	4074	-	contig1125_size18652167_part_3024	5000	1885	1957	50	73	0	tp:A:S	cm:i:4	s1:i:50
contig1125_size18652167_part_3024	5000	1885	1957	-	contig1125_size18652167_part_329	5000	4001	4074	50	73	12	tp:A:P	cm:i:4	s1:i:50	s2:i:0

Why is the first line reported, since it's a self-alignment? Is it because the alignment doesn't strictly span the 5000 bp of the contig?
Thank you

@lh3 lh3 added the question label Mar 13, 2018
@lh3
Copy link
Owner
lh3 commented Mar 13, 2018

No, it is not, because coordinates are different. BTW, you should update to more recent versions. "--no-self" is now an alias of "-D". The man page gives a better explanation.

@lh3 lh3 closed this as completed Mar 13, 2018
@lh3
Copy link
Owner
lh3 commented Mar 13, 2018

PS: see option"-D" here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant