summaryrefslogtreecommitdiff
path: root/debian/README.source
blob: 43916d35bdfc4ee5b3d0949dbaeeaadeefbc9dcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Upstream provides binary files without sources for:

* tests/test_data/test_sorted.bam.bai 
* tests/test_data/test_sorted.bam
* pyranges/example_data/control.bam.bai
* pyranges/example_data/control.bam

These have been converted to corresponding text (.sam) files with the commands:
* samtools view -h -o test_sorted.sam test_sorted.bam
* samtools view -h -o control.sam control.bam

And the corresponding *.sam files are added to: debian/missing-sources

They can be generated back with the following commands:

* cat debian/missing-sources/test_sorted.sam| samtools view -Sb - > tests/test_data/test_sorted.bam
* cat debian/missing-sources/control.sam| samtools view -Sb - > pyranges/example_data/control.bam
* samtools index tests/test_data/test_sorted.bam tests/test_data/test_sorted.bam.bai
* samtools index pyranges/example_data/control.bam pyranges/example_data/control.bam.bai

These commands are also being run in debian/rules since these binaries are needed for testing.

 -- Nilesh Patra <npatra974@gmail.com>  Sun, 21 Jun 2020 20:13:10 +0530