Skip to content

Commit

Permalink
Added updated build command to the go.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
kvg committed Jun 14, 2024
1 parent a645edd commit 96f2268
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -euxo pipefail

cargo build --release >/dev/null 2>&1
cargo build --release

./target/release/hidive fetch \
-r \
Expand All @@ -22,10 +22,10 @@ cargo build --release >/dev/null 2>&1
-o HG02559.HLA-A.bam \
gs://fc-bb12940d-f7ba-4515-8a98-42de84f63c34/HPRC_grch38/PBCCSWholeGenome/HG02559/alignments/HG02559.bam

samtools fasta HG002.HLA-A.bam | sed '/^>/s/$/\|HG002/' > HG002.HLA-A.fasta
samtools fasta HG002.HLA-A.bam | sed '/^>/s/$/\|HG002/' > HG002.HLA-A.fasta
samtools fasta HG00438.HLA-A.bam | sed '/^>/s/$/\|HG00438/' > HG00438.HLA-A.fasta
samtools fasta HG02559.HLA-A.bam | sed '/^>/s/$/\|HG02559/' > HG02559.HLA-A.fasta

cat HG002.HLA-A.fasta HG00438.HLA-A.fasta HG02559.HLA-A.fasta > HLA-A.fasta

./target/release/hidive build HLA-A.fasta GCA_000001405.15_GRCh38_no_alt_analysis_set.fa
./target/release/hidive build -l chr6:29,940,532-29,947,870 -o HLA-A.gfa HLA-A.fasta GCA_000001405.15_GRCh38_no_alt_analysis_set.fa

0 comments on commit 96f2268

Please sign in to comment.