Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pharmAnnot
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
gad-public
pharmAnnot
Commits
ad81a1c9
Commit
ad81a1c9
authored
Dec 09, 2021
by
simon verdez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add path to pipeline
parent
fd649755
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
Extract_PharmGKB_Variants.sh
Extract_PharmGKB_Variants.sh
+7
-3
Readme.md
Readme.md
+6
-5
No files found.
Extract_PharmGKB_Variants.sh
View file @
ad81a1c9
...
...
@@ -24,7 +24,7 @@ if [ ${PRINT_HELP} -eq 1 ]
then
echo
"Usage:"
echo
""
echo
"bash
-p <path/to/PharmGKB/file> -b <path/to/bam/file> -s <path/to/hlascan/files> -v <path/to/vcf/file> -o <path/to/output/dir> -h [print/this/help] Extract_PharmGKB_Variants.sh
"
echo
"bash
Extract_PharmGKB_Variants.sh -p <path/to/PharmGKB/file> -b <path/to/bam/file> -s <path/to/hlascan/files> -v <path/to/vcf/file> -o <path/to/output/dir> -h [print/this/help]
"
echo
""
echo
"<Mandatory>: "
echo
"-p <PharmGKB file>: Path to PharmGKB tsv file download at PharmGKB site."
...
...
@@ -111,8 +111,12 @@ then
exit
13
fi
# find pipeline directory
PIPELINEPATH
=
$(
dirname
$0
)
echo
"Input pharmgkb file:
$PHARMGKB
"
echo
"Path to HLAscan:
$HLASCAN
"
echo
"Path to create_html.py:
$PIPELINEPATH
/create_html.py"
echo
"HLAscan executable:
$HLASCAN
/hla-paper/haplo_scan_v4.0-hla.py"
echo
"Gene list for HLAscan:
$HLASCAN
/hla-ref-5gene/gene_list"
echo
"Input bam file:
$BAM
"
...
...
@@ -125,4 +129,4 @@ echo "Output HTML file: $OUTPUTDIR/Report.html"
python2.7
$HLASCAN
/hla-paper/haplo_scan_v4.0-hla.py
$BAM
$HLASCAN
/hla-ref-5gene/gene_list
$OUTPUTDIR
/HLAscan_result/ 1>>
$OUTPUTDIR
/HLAscan_log.txt 2>>
$OUTPUTDIR
/HLAscan_log.txt
#create HTML
python2.7 create_html.py
-v
$VCF
-s
$OUTPUTDIR
/HLAscan_result/Report
-t
$PHARMGKB
-o
$OUTPUTDIR
/Report.html
\ No newline at end of file
python2.7
$PIPELINEPATH
/create_html.py
-v
$VCF
-s
$OUTPUTDIR
/HLAscan_result/Report
-t
$PHARMGKB
-o
$OUTPUTDIR
/Report.html
\ No newline at end of file
Readme.md
View file @
ad81a1c9
...
...
@@ -51,16 +51,17 @@ https://ftp-trace.ncbi.nlm.nih.gov/giab/ftp/data/NA12878/Nebraska_NA12878_HG001_
### Execution
bash
-p <PharmGKB file> -b <bam file> -s <path to HLAscan files> -v <vcf file> -o <output dir>
Extract_PharmGKB_Variants.sh
bash Extract_PharmGKB_Variants.sh
Options:
<Mandatory>
-p <path to PharmGKB file> : Path to PharmGKB tsv file download at PharmGKB site.
-b <path to bam file> : Path to bam file provided by alignement.
-s <path to hlascan files> : Path to HLAscan tools download and unzipped.
-v <path to vcf file> : Path to vcf file provided by variant calling
-o <output_path>: Output path.
-h print help
-h print help and exit
#### Data test
bash -p data_test/PharmGKB_Epilepsy.tsv -b data_test/NA12878.5gene.bam -s
<path
to
HLAscan
files
>
-v data_test/NIST-hg001-7001-b-gatk.vcf -o data_test/ Extract_PharmGKB_Variants.sh
\ No newline at end of file
bash Extract_PharmGKB_Variants.sh -p data_test/PharmGKB_Epilepsy.tsv -b data_test/NA12878.5gene.bam -s
<path
to
HLAscan
files
>
-v data_test/NIST-hg001-7001-b-gatk.vcf -o data_test/
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment