This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
anthill_sri018 [2023/11/04 08:33] – created tmatejuk | anthill_sri018 [2023/11/07 07:33] (current) – tmatejuk | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== description ==== | ==== description ==== | ||
- | The preseq package | + | [[https:// |
+ | * **GLIMPSE2_chunk** splits the genome into chunks for imputation and phasing | ||
+ | * **GLIMPSE2_split_reference** creates the reference panel representation used by GLIMPSE2_phase. It allows major speedups for large reference panels. | ||
+ | * **GLIMPSE2_phase** program to impute and phase low coverage sequencing data | ||
+ | * **GLIMPSE2_ligate** concatenates phased chunks of data into chromosome-wide phased files | ||
+ | === citation === | ||
+ | If you use GLIMPSE in your research work, please cite the following papers | ||
==== software version ==== | ==== software version ==== | ||
- | Bellow description covers | + | Bellow description covers |
- | ==== installation ==== | ||
- | === static binaries === | ||
- | Software is available as static binaries : https:// | ||
- | === compile GLIMPSE2 | + | ==== prepare software |
+ | Login to anthill23, and download required sources ((this will take 8 minutes)) | ||
+ | mkdir -p ~/ | ||
+ | |||
+ | cd ~/ | ||
+ | git clone https:// | ||
+ | cd htslib_src | ||
+ | git submodule update --init --recursive | ||
+ | |||
+ | cd ~/ | ||
+ | wget https:// | ||
+ | tar --bzip2 -xf boost_1_73_0.tar.bz2 | ||
+ | |||
+ | cd ~/ | ||
+ | git clone https:// | ||
- | <note warning> | + | start interactive session |
- | <note warning> | + | @anthill23: |
+ | | ||
- | + | compile | |
- | <note warning> | + | cd ~/ |
- | + | | |
- | ==== prepare software ==== | + | ./ |
- | Login to anthill23, start interactive session in which download and compile | + | make |
- | + | make install | |
- | | + | |
| | ||
- | mkdir ~/ | ||
- | cd ~/ | ||
- | wget -O preseq-3.1.2.tar.gz https:// | ||
- | tar xvzf preseq-3.1.2.tar.gz | ||
- | cd preseq-3.1.2 | ||
| | ||
- | mkdir build | + | compile boost ((this will take 1 minute)): |
- | cd build | + | cd ~/ |
+ | ./ | ||
+ | ./b2 install | ||
| | ||
- | mkdir -p / | + | compile GLIMPSE2_phase ((this will take 3 minutes)): |
- | ../configure | + | cd ~/ |
+ | sed -i ' | ||
+ | sed -i ' | ||
+ | | ||
+ | sed -i ' | ||
+ | sed -i ' | ||
+ | sed -i ' | ||
+ | sed -i ' | ||
+ | make desktop | ||
| | ||
- | make -j${SLURM_NPROCS} && make install | + | compile GLIMPSE2_chunk / ligate / split_reference |
+ | #repeat the same as for GLIMPSE2_phase described above, but in different folder | ||
+ | cd ~/ | ||
+ | cd ~/ | ||
+ | cd ~/ | ||
+ | |||
+ | test created binary, you should get similar output : | ||
+ | cd ~/ | ||
+ | ./ | ||
| | ||
- | | + | |
+ | * Authors | ||
+ | * Contact | ||
+ | * Version | ||
+ | * Citation | ||
+ | * : Nature Genetics 53, 120–126 (2021). DOI: https:// | ||
+ | * Run date : 05/11/2023 - 08:17:29 | ||
| | ||
+ | ERROR: You must specify input files using one of the following options: --bam, --bam-list or --input-gl | ||
+ | |||
+ | finish | ||
#exit interactive mode when finished with exit command | #exit interactive mode when finished with exit command | ||
exit | exit | ||
Line 45: | Line 84: | ||
==== sbatch example ==== | ==== sbatch example ==== | ||
- | This description assumes that above step ( prepare software ) were done beforehand. \\ | + | ...FIXME |
- | Bellow slurm job creates temporary folder in your home folder (like '' | + | |
- | Inspect job output ex.: '' | + | |
- | + | ||
- | File '' | + | |
- | + | ||
- | < | + | |
- | #!/bin/bash -l | + | |
- | #SBATCH --partition=test | + | |
- | #SBATCH --ntasks=2 | + | |
- | #SBATCH --mem 4G | + | |
- | #SBATCH --job-name preseq_test | + | |
- | + | ||
- | #prepare temporary folder | + | |
- | cd `mktemp -d -p ~/` | + | |
- | + | ||
- | #download bam filefq file | + | |
- | wget --no-check-certificate http:// | + | |
- | + | ||
- | #export path to preseq-3.1.2 binary | + | |
- | export PATH=$PATH:/ | + | |
- | + | ||
- | #predict the yield of a future experiment if the input file is in .bam format | + | |
- | preseq lc_extrap -B -o yield_estimates.txt wgEncodeLicrRnaSeqBmdmCellPapFAdult8wksC57bl6AlnRep1.bam | + | |
- | + | ||
- | </ | + | |
==== performance tests ==== | ==== performance tests ==== | ||
- | None. At this time. | + | ... FIXME |