2016-05-06 10:02:50 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package samtools
|
|
|
|
|
#
|
2024-01-03 08:52:39 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2016-05-06 10:02:50 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
Accepting request 770319 from home:TheBlackCat:branches:devel:languages:python:numeric
+ Changes affecting the whole of samtools, or multiple sub-commands:
* Samtools now uses the new HTSlib header API. As this adds more checks
for invalid headers, it is possible that some illegal files will now
be rejected when they would have been allowed by earlier versions.
Examples of problems that will now be rejected include @SQ lines with
no SN: tag, and @RG or @PG lines with no ID: tag.
* samtools sub-commands will now add '@PG' header lines to output sam/bam/cram
files. To disable this, use the '--no-PG' option.
* samtools now supports alignment records with reference positions greater
than 2 gigabases. This allows samtools to process alignments for
species which have large chromosomes, like axolotl and lungfish. Note that
due to file format limitations, data with large reference positions
must use the SAM format.
* Improved the efficiency of reading and writing SAM format data by 2 fold
(single thread). This is further improved by the ability to use multiple
threads, as previously done with BAM and CRAM.
* samtools can now write BGZF-compressed SAM format. To enable this,
either save files with a '.sam.gz' suffix, or use '--output-fmt sam.gz'.
* samtools can now index BGZF-compressed SAM files.
* The region parsing code has been improved to handle colons in reference
names. Strings can be disambiguated by the use of braces, so for
example when reference sequences called "chr1" and "chr1:100-200"
are both present, the regions "{chr1}:100-200" and "{chr1:100-200}"
unambiguously indicate which reference is being used.
* samtools flags, flagstats, idxstats and stats now have aliases
flag, flagstat, idxstat and stat.
* A new global '--write-index' option has been added. This allows output
sam.gz/bam/cram files to be indexed while they are being written out.
This should work with addreplacerg, depad, markdup, merge, sort, split,
and view.
* A global '--verbosity' option has been added to enable/disable
debugging output.
* It is now possible to have data and index files stored in different
locations.
* HTSlib (and therefore SAMtools) now uses version 4 signatures by default
for its s3:// plug-in. It can also write to S3 buckets, as long as
version 4 signatures are in use. See HTSlib's NEWS file and
htslib-s3-plugin manual page for more information.
* HTSlib (and therefore SAMtools) no longer considers a zero-length
file to be a valid SAM file. This has been changed so that pipelines such
as `somecmd | samtools ...` with `somecmd` aborting before outputting
anything will now propagate the error to the second command.
* The samtools manual page has been split up into one for each
sub-command. The main samtools.1 manual page now lists the sub-commands
and describes the common global options.
* The meaning of decode_md, store_md and store_nm in the fmt-option section
of the samtools.1 man page has been clarified.
* Fixed numerous memory leaks.
* Fixed incorrect macro definition on Windows.
* bedcov, phase, misc/ace2sam and misc/wgsim now check for failure to open
files.
+ Changes affecting specific sub-commands:
* A new "coverage" sub-command has been added. This prints a tabular format
of the average coverage and percent coverage for each reference sequence,
as well as number of aligned reads, average mapping quality and base
quality. It can also (with the '-m' option) plot a histogram of
coverage across the genome.
* samtools calmd:
> Reference bases in MD: tags are now converted to upper case.
* samtools depth:
> Add new options to write a header to the output (-H) and to direct
the output to a file (-o).
> New options '-g' and '-G' can be used to filter reads.
> Fix memory leak when failing to set CRAM options.
> Fix bug when using region filters where the '-a' option did not
work for regions with no coverage.
* samtools fasta and fastq:
> '-1 FILE -2 FILE' with the same filename now works properly.
> '-o FILE' is added as a synonym for '-1 FILE -2 FILE'.
> The '-F' option now defaults to 0x900 (SECONDARY,SUPPLEMENTARY).
Previously secondary and supplementary records were filtered internally
in a way that could not be turned off.
> Allow reading from a pipe without an explicit '-' on the command line.
> Turn on multi-threading for bgzf compressed output files.
> Fixed bug where the samtools fastq -i would output incorrect information
in the Casava tags for dual-index reads. It also now prints the tags
for dual indices in the same way as bcl2fastq, using a '+' sign between
the two parts of the index.
* samtools flagstat:
> Samtools flagstat can now optionally write its output in JSON format or
as a tab-separated values file..
* samtools markdup:
> It can optionally tag optical duplicates (reads following Illumina
naming conventions only). The is enabled with the '-d' option,
which sets the distance for duplicates to be considered as optical.
> The report stats (-s) option now outputs counts for optical and
non-primary (supplementary / secondary) duplicates. It also reports
the Picard "estimate library size" statistic. A new '-f' option
can be used to save the statistics in a given file.
> The rules for calling duplicates can be changed using the new --mode
option. This mainly changes the position associated with each read in
a pair. '--mode t' (the default) is the existing behaviour where the
position used is that of the outermost template base associated with the
read. Alternatively '--mode s' always uses the first unclipped sequence
base. In practice, this only makes a difference for read pairs where the
two reads are aligned in the same direction.
> A new '-c' option can be used to clear any existing duplicate tags.
> A new '--include-fails' option makes markdup include QC-failed reads.
> Fixed buffer overflow in temporary file writer when writing a mixture
of long and short alignment records.
* samtools mpileup:
> mpileup can now process alignments including CIGAR P (pad) operators
correctly. They will now also produce the correct output for alignments
where insertions are immediately followed by deletions, or deletions by
insertions. Note that due to limitations in HTSlib, they are still
unable to output sequences that have been inserted before the first
aligned base of a read..
> In samtools mpileup, a deletion or pad on the reverse strand is now
marked with a different character ('#') than the one used on a forward
strand ('*'), if the '--reverse-del' option is used.
> New option '--output-extra' can be used to add columns for user
selected alignment fields or aux tags.
> Fixed double-counting of overlapping bases in alignment records with
deletions or reference skips longer than twice the insert size.
> Improved manual page with documentation about what each output column
means.
* samtools quickcheck:
> Add unmapped (-u) option, which disables the check for @SQ lines in
the header.
* samtools reheader:
> A new option '-c' allows the input header to be passed to a given
command. Samtools then takes the output of this command and uses it
as the replacement header.
> Make it clear in help message that reheader --in-place only works on
CRAM files.
> Refuse to in-place reheader BAM files, instead of unexpectedly writing
a BAM file to stdout.
* samtools split:
> In samtools split, the '-u' option no longer accepts an extra file name
from which a replacement header was read. The two file names were
separated using a colon, which caused problems on Windows and prevented
the use of URLs. A new '-h' option has been added to allow the replacement
header file to be specified in its own option.
> Fixed bug where samtools split would crash if it read a SAM header that
contained an @RG line with no ID tag.
* samtools stats:
> stats will now compute base compositions for BC, CR, OX and RX tags,
and quality histograms for QT, CY, BZ and QX tags.
> New stats FTC and LTC showing total number of nucleotides for first and
last fragments.
> The rules for classifying reads as "first" or "last" fragment have been
tightened up.
> Fixed bug where stats could over-estimate coverage when using the
target-regions option or when a region was specified on the command-line..
> Fixed error in stats GCD percentile depth calculation when the depth to be
reported fell between two bins. It would report the depth entirely from
the lower bin instead of taking a weighted average of the two.
> Better catching and reporting of out of memory conditions.
> Improved manual page.
* samtools tview:
> tview can now display alignments including CIGAR P operators, D followed
by I and I followed by D correctly. See mpileup above for more
information.
> The "go to position" text entry box has been made wider.
> Fixed samtools tview -s option which was not filtering reads correctly.
It now only shows reads from the requested sample or read group.
* samtools view:
> New options '-d' and '-D' to only output alignments which have a tag
with a given type and value.
* misc/plot-bamstats script:
> Fixed merge (-m) option.
> Made the quality heatmap work with gnuplot version 5.2.7 and later.
> Fixed --do-ref-stats bug where fasta header lines would be counted
as part of the sequence when the --targets option was used.
* Removed the misc/varfilter.py Python script, as it takes consensus-pileup
as input, which was removed from samtools in release 0.1.17 in 2011.
OBS-URL: https://build.opensuse.org/request/show/770319
OBS-URL: https://build.opensuse.org/package/show/science/samtools?expand=0&rev=6
2020-02-05 21:29:03 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-05-06 10:02:50 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
2025-04-02 13:43:17 +00:00
|
|
|
%define htsminversion 1.21
|
2022-09-15 10:20:29 +00:00
|
|
|
|
2016-05-06 10:02:50 +00:00
|
|
|
Name: samtools
|
2025-04-02 13:43:17 +00:00
|
|
|
Version: 1.21
|
2016-05-06 10:02:50 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Tools for manipulating next-generation sequencing data
|
|
|
|
|
License: MIT
|
|
|
|
|
Group: Productivity/Scientific/Other
|
Accepting request 770319 from home:TheBlackCat:branches:devel:languages:python:numeric
+ Changes affecting the whole of samtools, or multiple sub-commands:
* Samtools now uses the new HTSlib header API. As this adds more checks
for invalid headers, it is possible that some illegal files will now
be rejected when they would have been allowed by earlier versions.
Examples of problems that will now be rejected include @SQ lines with
no SN: tag, and @RG or @PG lines with no ID: tag.
* samtools sub-commands will now add '@PG' header lines to output sam/bam/cram
files. To disable this, use the '--no-PG' option.
* samtools now supports alignment records with reference positions greater
than 2 gigabases. This allows samtools to process alignments for
species which have large chromosomes, like axolotl and lungfish. Note that
due to file format limitations, data with large reference positions
must use the SAM format.
* Improved the efficiency of reading and writing SAM format data by 2 fold
(single thread). This is further improved by the ability to use multiple
threads, as previously done with BAM and CRAM.
* samtools can now write BGZF-compressed SAM format. To enable this,
either save files with a '.sam.gz' suffix, or use '--output-fmt sam.gz'.
* samtools can now index BGZF-compressed SAM files.
* The region parsing code has been improved to handle colons in reference
names. Strings can be disambiguated by the use of braces, so for
example when reference sequences called "chr1" and "chr1:100-200"
are both present, the regions "{chr1}:100-200" and "{chr1:100-200}"
unambiguously indicate which reference is being used.
* samtools flags, flagstats, idxstats and stats now have aliases
flag, flagstat, idxstat and stat.
* A new global '--write-index' option has been added. This allows output
sam.gz/bam/cram files to be indexed while they are being written out.
This should work with addreplacerg, depad, markdup, merge, sort, split,
and view.
* A global '--verbosity' option has been added to enable/disable
debugging output.
* It is now possible to have data and index files stored in different
locations.
* HTSlib (and therefore SAMtools) now uses version 4 signatures by default
for its s3:// plug-in. It can also write to S3 buckets, as long as
version 4 signatures are in use. See HTSlib's NEWS file and
htslib-s3-plugin manual page for more information.
* HTSlib (and therefore SAMtools) no longer considers a zero-length
file to be a valid SAM file. This has been changed so that pipelines such
as `somecmd | samtools ...` with `somecmd` aborting before outputting
anything will now propagate the error to the second command.
* The samtools manual page has been split up into one for each
sub-command. The main samtools.1 manual page now lists the sub-commands
and describes the common global options.
* The meaning of decode_md, store_md and store_nm in the fmt-option section
of the samtools.1 man page has been clarified.
* Fixed numerous memory leaks.
* Fixed incorrect macro definition on Windows.
* bedcov, phase, misc/ace2sam and misc/wgsim now check for failure to open
files.
+ Changes affecting specific sub-commands:
* A new "coverage" sub-command has been added. This prints a tabular format
of the average coverage and percent coverage for each reference sequence,
as well as number of aligned reads, average mapping quality and base
quality. It can also (with the '-m' option) plot a histogram of
coverage across the genome.
* samtools calmd:
> Reference bases in MD: tags are now converted to upper case.
* samtools depth:
> Add new options to write a header to the output (-H) and to direct
the output to a file (-o).
> New options '-g' and '-G' can be used to filter reads.
> Fix memory leak when failing to set CRAM options.
> Fix bug when using region filters where the '-a' option did not
work for regions with no coverage.
* samtools fasta and fastq:
> '-1 FILE -2 FILE' with the same filename now works properly.
> '-o FILE' is added as a synonym for '-1 FILE -2 FILE'.
> The '-F' option now defaults to 0x900 (SECONDARY,SUPPLEMENTARY).
Previously secondary and supplementary records were filtered internally
in a way that could not be turned off.
> Allow reading from a pipe without an explicit '-' on the command line.
> Turn on multi-threading for bgzf compressed output files.
> Fixed bug where the samtools fastq -i would output incorrect information
in the Casava tags for dual-index reads. It also now prints the tags
for dual indices in the same way as bcl2fastq, using a '+' sign between
the two parts of the index.
* samtools flagstat:
> Samtools flagstat can now optionally write its output in JSON format or
as a tab-separated values file..
* samtools markdup:
> It can optionally tag optical duplicates (reads following Illumina
naming conventions only). The is enabled with the '-d' option,
which sets the distance for duplicates to be considered as optical.
> The report stats (-s) option now outputs counts for optical and
non-primary (supplementary / secondary) duplicates. It also reports
the Picard "estimate library size" statistic. A new '-f' option
can be used to save the statistics in a given file.
> The rules for calling duplicates can be changed using the new --mode
option. This mainly changes the position associated with each read in
a pair. '--mode t' (the default) is the existing behaviour where the
position used is that of the outermost template base associated with the
read. Alternatively '--mode s' always uses the first unclipped sequence
base. In practice, this only makes a difference for read pairs where the
two reads are aligned in the same direction.
> A new '-c' option can be used to clear any existing duplicate tags.
> A new '--include-fails' option makes markdup include QC-failed reads.
> Fixed buffer overflow in temporary file writer when writing a mixture
of long and short alignment records.
* samtools mpileup:
> mpileup can now process alignments including CIGAR P (pad) operators
correctly. They will now also produce the correct output for alignments
where insertions are immediately followed by deletions, or deletions by
insertions. Note that due to limitations in HTSlib, they are still
unable to output sequences that have been inserted before the first
aligned base of a read..
> In samtools mpileup, a deletion or pad on the reverse strand is now
marked with a different character ('#') than the one used on a forward
strand ('*'), if the '--reverse-del' option is used.
> New option '--output-extra' can be used to add columns for user
selected alignment fields or aux tags.
> Fixed double-counting of overlapping bases in alignment records with
deletions or reference skips longer than twice the insert size.
> Improved manual page with documentation about what each output column
means.
* samtools quickcheck:
> Add unmapped (-u) option, which disables the check for @SQ lines in
the header.
* samtools reheader:
> A new option '-c' allows the input header to be passed to a given
command. Samtools then takes the output of this command and uses it
as the replacement header.
> Make it clear in help message that reheader --in-place only works on
CRAM files.
> Refuse to in-place reheader BAM files, instead of unexpectedly writing
a BAM file to stdout.
* samtools split:
> In samtools split, the '-u' option no longer accepts an extra file name
from which a replacement header was read. The two file names were
separated using a colon, which caused problems on Windows and prevented
the use of URLs. A new '-h' option has been added to allow the replacement
header file to be specified in its own option.
> Fixed bug where samtools split would crash if it read a SAM header that
contained an @RG line with no ID tag.
* samtools stats:
> stats will now compute base compositions for BC, CR, OX and RX tags,
and quality histograms for QT, CY, BZ and QX tags.
> New stats FTC and LTC showing total number of nucleotides for first and
last fragments.
> The rules for classifying reads as "first" or "last" fragment have been
tightened up.
> Fixed bug where stats could over-estimate coverage when using the
target-regions option or when a region was specified on the command-line..
> Fixed error in stats GCD percentile depth calculation when the depth to be
reported fell between two bins. It would report the depth entirely from
the lower bin instead of taking a weighted average of the two.
> Better catching and reporting of out of memory conditions.
> Improved manual page.
* samtools tview:
> tview can now display alignments including CIGAR P operators, D followed
by I and I followed by D correctly. See mpileup above for more
information.
> The "go to position" text entry box has been made wider.
> Fixed samtools tview -s option which was not filtering reads correctly.
It now only shows reads from the requested sample or read group.
* samtools view:
> New options '-d' and '-D' to only output alignments which have a tag
with a given type and value.
* misc/plot-bamstats script:
> Fixed merge (-m) option.
> Made the quality heatmap work with gnuplot version 5.2.7 and later.
> Fixed --do-ref-stats bug where fasta header lines would be counted
as part of the sequence when the --targets option was used.
* Removed the misc/varfilter.py Python script, as it takes consensus-pileup
as input, which was removed from samtools in release 0.1.17 in 2011.
OBS-URL: https://build.opensuse.org/request/show/770319
OBS-URL: https://build.opensuse.org/package/show/science/samtools?expand=0&rev=6
2020-02-05 21:29:03 +00:00
|
|
|
URL: https://github.com/samtools/samtools
|
|
|
|
|
Source: https://github.com/samtools/samtools/releases/download/%{version}/samtools-%{version}.tar.bz2
|
2016-05-06 10:02:50 +00:00
|
|
|
BuildRequires: ncurses-utils
|
2025-04-02 13:43:17 +00:00
|
|
|
BuildRequires: perl-base
|
2022-09-15 10:20:29 +00:00
|
|
|
BuildRequires: pkgconfig(htslib) >= %{htsminversion}
|
Accepting request 770319 from home:TheBlackCat:branches:devel:languages:python:numeric
+ Changes affecting the whole of samtools, or multiple sub-commands:
* Samtools now uses the new HTSlib header API. As this adds more checks
for invalid headers, it is possible that some illegal files will now
be rejected when they would have been allowed by earlier versions.
Examples of problems that will now be rejected include @SQ lines with
no SN: tag, and @RG or @PG lines with no ID: tag.
* samtools sub-commands will now add '@PG' header lines to output sam/bam/cram
files. To disable this, use the '--no-PG' option.
* samtools now supports alignment records with reference positions greater
than 2 gigabases. This allows samtools to process alignments for
species which have large chromosomes, like axolotl and lungfish. Note that
due to file format limitations, data with large reference positions
must use the SAM format.
* Improved the efficiency of reading and writing SAM format data by 2 fold
(single thread). This is further improved by the ability to use multiple
threads, as previously done with BAM and CRAM.
* samtools can now write BGZF-compressed SAM format. To enable this,
either save files with a '.sam.gz' suffix, or use '--output-fmt sam.gz'.
* samtools can now index BGZF-compressed SAM files.
* The region parsing code has been improved to handle colons in reference
names. Strings can be disambiguated by the use of braces, so for
example when reference sequences called "chr1" and "chr1:100-200"
are both present, the regions "{chr1}:100-200" and "{chr1:100-200}"
unambiguously indicate which reference is being used.
* samtools flags, flagstats, idxstats and stats now have aliases
flag, flagstat, idxstat and stat.
* A new global '--write-index' option has been added. This allows output
sam.gz/bam/cram files to be indexed while they are being written out.
This should work with addreplacerg, depad, markdup, merge, sort, split,
and view.
* A global '--verbosity' option has been added to enable/disable
debugging output.
* It is now possible to have data and index files stored in different
locations.
* HTSlib (and therefore SAMtools) now uses version 4 signatures by default
for its s3:// plug-in. It can also write to S3 buckets, as long as
version 4 signatures are in use. See HTSlib's NEWS file and
htslib-s3-plugin manual page for more information.
* HTSlib (and therefore SAMtools) no longer considers a zero-length
file to be a valid SAM file. This has been changed so that pipelines such
as `somecmd | samtools ...` with `somecmd` aborting before outputting
anything will now propagate the error to the second command.
* The samtools manual page has been split up into one for each
sub-command. The main samtools.1 manual page now lists the sub-commands
and describes the common global options.
* The meaning of decode_md, store_md and store_nm in the fmt-option section
of the samtools.1 man page has been clarified.
* Fixed numerous memory leaks.
* Fixed incorrect macro definition on Windows.
* bedcov, phase, misc/ace2sam and misc/wgsim now check for failure to open
files.
+ Changes affecting specific sub-commands:
* A new "coverage" sub-command has been added. This prints a tabular format
of the average coverage and percent coverage for each reference sequence,
as well as number of aligned reads, average mapping quality and base
quality. It can also (with the '-m' option) plot a histogram of
coverage across the genome.
* samtools calmd:
> Reference bases in MD: tags are now converted to upper case.
* samtools depth:
> Add new options to write a header to the output (-H) and to direct
the output to a file (-o).
> New options '-g' and '-G' can be used to filter reads.
> Fix memory leak when failing to set CRAM options.
> Fix bug when using region filters where the '-a' option did not
work for regions with no coverage.
* samtools fasta and fastq:
> '-1 FILE -2 FILE' with the same filename now works properly.
> '-o FILE' is added as a synonym for '-1 FILE -2 FILE'.
> The '-F' option now defaults to 0x900 (SECONDARY,SUPPLEMENTARY).
Previously secondary and supplementary records were filtered internally
in a way that could not be turned off.
> Allow reading from a pipe without an explicit '-' on the command line.
> Turn on multi-threading for bgzf compressed output files.
> Fixed bug where the samtools fastq -i would output incorrect information
in the Casava tags for dual-index reads. It also now prints the tags
for dual indices in the same way as bcl2fastq, using a '+' sign between
the two parts of the index.
* samtools flagstat:
> Samtools flagstat can now optionally write its output in JSON format or
as a tab-separated values file..
* samtools markdup:
> It can optionally tag optical duplicates (reads following Illumina
naming conventions only). The is enabled with the '-d' option,
which sets the distance for duplicates to be considered as optical.
> The report stats (-s) option now outputs counts for optical and
non-primary (supplementary / secondary) duplicates. It also reports
the Picard "estimate library size" statistic. A new '-f' option
can be used to save the statistics in a given file.
> The rules for calling duplicates can be changed using the new --mode
option. This mainly changes the position associated with each read in
a pair. '--mode t' (the default) is the existing behaviour where the
position used is that of the outermost template base associated with the
read. Alternatively '--mode s' always uses the first unclipped sequence
base. In practice, this only makes a difference for read pairs where the
two reads are aligned in the same direction.
> A new '-c' option can be used to clear any existing duplicate tags.
> A new '--include-fails' option makes markdup include QC-failed reads.
> Fixed buffer overflow in temporary file writer when writing a mixture
of long and short alignment records.
* samtools mpileup:
> mpileup can now process alignments including CIGAR P (pad) operators
correctly. They will now also produce the correct output for alignments
where insertions are immediately followed by deletions, or deletions by
insertions. Note that due to limitations in HTSlib, they are still
unable to output sequences that have been inserted before the first
aligned base of a read..
> In samtools mpileup, a deletion or pad on the reverse strand is now
marked with a different character ('#') than the one used on a forward
strand ('*'), if the '--reverse-del' option is used.
> New option '--output-extra' can be used to add columns for user
selected alignment fields or aux tags.
> Fixed double-counting of overlapping bases in alignment records with
deletions or reference skips longer than twice the insert size.
> Improved manual page with documentation about what each output column
means.
* samtools quickcheck:
> Add unmapped (-u) option, which disables the check for @SQ lines in
the header.
* samtools reheader:
> A new option '-c' allows the input header to be passed to a given
command. Samtools then takes the output of this command and uses it
as the replacement header.
> Make it clear in help message that reheader --in-place only works on
CRAM files.
> Refuse to in-place reheader BAM files, instead of unexpectedly writing
a BAM file to stdout.
* samtools split:
> In samtools split, the '-u' option no longer accepts an extra file name
from which a replacement header was read. The two file names were
separated using a colon, which caused problems on Windows and prevented
the use of URLs. A new '-h' option has been added to allow the replacement
header file to be specified in its own option.
> Fixed bug where samtools split would crash if it read a SAM header that
contained an @RG line with no ID tag.
* samtools stats:
> stats will now compute base compositions for BC, CR, OX and RX tags,
and quality histograms for QT, CY, BZ and QX tags.
> New stats FTC and LTC showing total number of nucleotides for first and
last fragments.
> The rules for classifying reads as "first" or "last" fragment have been
tightened up.
> Fixed bug where stats could over-estimate coverage when using the
target-regions option or when a region was specified on the command-line..
> Fixed error in stats GCD percentile depth calculation when the depth to be
reported fell between two bins. It would report the depth entirely from
the lower bin instead of taking a weighted average of the two.
> Better catching and reporting of out of memory conditions.
> Improved manual page.
* samtools tview:
> tview can now display alignments including CIGAR P operators, D followed
by I and I followed by D correctly. See mpileup above for more
information.
> The "go to position" text entry box has been made wider.
> Fixed samtools tview -s option which was not filtering reads correctly.
It now only shows reads from the requested sample or read group.
* samtools view:
> New options '-d' and '-D' to only output alignments which have a tag
with a given type and value.
* misc/plot-bamstats script:
> Fixed merge (-m) option.
> Made the quality heatmap work with gnuplot version 5.2.7 and later.
> Fixed --do-ref-stats bug where fasta header lines would be counted
as part of the sequence when the --targets option was used.
* Removed the misc/varfilter.py Python script, as it takes consensus-pileup
as input, which was removed from samtools in release 0.1.17 in 2011.
OBS-URL: https://build.opensuse.org/request/show/770319
OBS-URL: https://build.opensuse.org/package/show/science/samtools?expand=0&rev=6
2020-02-05 21:29:03 +00:00
|
|
|
BuildRequires: pkgconfig(ncurses)
|
|
|
|
|
BuildRequires: pkgconfig(zlib)
|
2018-07-13 09:04:52 +00:00
|
|
|
Requires: bgzip
|
2025-04-02 13:43:17 +00:00
|
|
|
Requires: perl-base
|
2018-07-13 09:04:52 +00:00
|
|
|
Requires: tabix
|
2016-05-06 10:02:50 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Samtools implements various utilities for post-processing alignments in the
|
|
|
|
|
SAM, BAM, and CRAM formats, including indexing, variant calling (in conjunction
|
|
|
|
|
with bcftools), and a simple alignment viewer.
|
|
|
|
|
|
|
|
|
|
%prep
|
2022-04-21 17:09:43 +00:00
|
|
|
%setup -q
|
2016-05-06 10:02:50 +00:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --with-htslib=system
|
2021-05-16 16:36:00 +00:00
|
|
|
%make_build
|
2016-05-06 10:02:50 +00:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
2018-07-13 09:04:52 +00:00
|
|
|
# CONVERT env HASHBANGS TO USE DIRECT EXECUTABLE
|
|
|
|
|
perlbin=`which perl`
|
|
|
|
|
sed -i "s:/usr/bin/env perl:${perlbin}:" %{buildroot}/%{_bindir}/*.pl
|
|
|
|
|
sed -i "s:/usr/bin/env perl:${perlbin}:" %{buildroot}/%{_bindir}/plot-bamstats
|
2021-04-20 08:55:23 +00:00
|
|
|
sed -i "s:/usr/bin/env perl:${perlbin}:" %{buildroot}/%{_bindir}/plot-ampliconstats
|
2018-07-13 09:04:52 +00:00
|
|
|
|
2016-05-06 10:02:50 +00:00
|
|
|
%files
|
2018-07-13 09:04:52 +00:00
|
|
|
%license LICENSE
|
2024-01-03 08:52:39 +00:00
|
|
|
%doc NEWS.md README
|
2016-05-06 10:02:50 +00:00
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
|
|
|
|
%changelog
|