A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/samtools/samtools/issues/2167 below:

Samtools consensus --min-depth option produces longer sequence · Issue #2167 · samtools/samtools · GitHub

Are you using the latest version of samtools and [HTSlib]

samtools 1.21
Using htslib 1.21

Please describe your environment.

Linux 5.14.21-150500.55.36-default
x86_64
gcc (SUSE Linux) 7.5.0

Please specify the steps taken to generate the issue, the command you are running and the relevant output.

When i used samtools consensus BAM -r SC:1-100 i get a consensus of 100 bp
When i used samtools consensus BAM -r SC:1-100 -d 70 i get a consensus of 130 bp

If a check the PILEUP format result

Without -d

...
SC	28	0	53	G	157	...
SC	29	0	53	C	122	...
SC	30	0	53	G	154	...
...

With -d

...
SC	28	0	53	N	0	...
SC	29	0	53	N	0	...
SC	29	1	53	N	0	**************A*******###############################	...
SC	29	2	53	N	0	**************T*******###############################	...
SC	30	0	53	N	0	...
...

Low coverage insertion, ignored by default, seem to be taken into account with -d


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4