| 1 |
Source: gsort |
| 2 |
Maintainer: Debian Med Packaging Team <[email protected]> |
| 3 |
Uploaders: Étienne Mollier <[email protected]> |
| 4 |
Section: science |
| 5 |
Priority: optional |
| 6 |
Build-Depends: debhelper-compat (= 13), |
| 7 |
dh-golang, |
| 8 |
golang-any, |
| 9 |
golang-github-klauspost-compress-dev, |
| 10 |
golang-github-pkg-errors-dev, |
| 11 |
golang-gopkg-check.v1-dev, |
| 12 |
golang-github-shenwei356-xopen-dev, |
| 13 |
golang-github-gogetdata-ggd-utils-dev, |
| 14 |
golang-github-alexflint-go-arg-dev |
| 15 |
Standards-Version: 4.7.2 |
| 16 |
Vcs-Browser: https://salsa.debian.org/med-team/gsort |
| 17 |
Vcs-Git: https://salsa.debian.org/med-team/gsort.git |
| 18 |
Homepage: https://github.com/brentp/gsort |
| 19 |
XS-Go-Import-Path: github.com/brentp/gsort |
| 20 |
|
| 21 |
Package: gsort |
| 22 |
Architecture: any |
| 23 |
Depends: ${misc:Depends}, |
| 24 |
${shlibs:Depends} |
| 25 |
Static-Built-Using: ${misc:Static-Built-Using} |
| 26 |
Description: sort genomic data |
| 27 |
gsort is a tool to sort genomic files according to a genomefile. |
| 28 |
For example, to sort VCF to have order: |
| 29 |
X, Y, 2, 1, 3, ... and the header needs to be kept at the top. |
| 30 |
. |
| 31 |
As a more likely example, if a file nneds to be sorted to match GATK |
| 32 |
order (1 ... X, Y, MT) which is not possible with any other sorting |
| 33 |
tool. With gsort one can simply place MT as the last chrom in the |
| 34 |
".genome" file. |
| 35 |
. |
| 36 |
It will also be useful for getting files ready for use in bedtools. |
| 37 |
|
| 38 |
Package: golang-github-brentp-gsort-dev |
| 39 |
Architecture: all |
| 40 |
Section: golang |
| 41 |
Depends: golang-github-klauspost-compress-dev, |
| 42 |
golang-github-pkg-errors-dev, |
| 43 |
golang-gopkg-check.v1-dev, |
| 44 |
${misc:Depends} |
| 45 |
Description: library package for gsort |
| 46 |
Package gsort is a library for sorting a stream of tab-delimited lines |
| 47 |
([]bytes) (from a reader) using the amount of memory requested. |
| 48 |
. |
| 49 |
Instead of using a compare function as most sorts do, this accepts a |
| 50 |
user-defined function with signature: func(line []byte) []int where the |
| 51 |
[]ints are used to determine ordering. For example if sorting |
| 52 |
on 2 columns, one of months and another of day of months, the function |
| 53 |
would replace "Jan" with 1 and "Feb" with 2 for the first column and |
| 54 |
just return the Atoi of the 2nd column. |