Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for Biometrics and Genral Parse Stat #24

Merged
merged 6 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test_nucleo_qc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
python-version: [3.10.8]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name : Set up NodeJS
Expand Down
2 changes: 1 addition & 1 deletion cwl-commandlinetools
Submodule cwl-commandlinetools updated 48 files
+161 −0 biometrics_extract/0.2.15/biometrics_extract.cwl
+24 −0 biometrics_extract/0.2.15/example_inputs.yaml
+1 −1 biometrics_extract/README.md
+155 −0 biometrics_genotype/0.2.15/biometrics_genotype.cwl
+12 −0 biometrics_genotype/0.2.15/example_inputs.yaml
+1 −1 biometrics_genotype/README.md
+123 −0 biometrics_major/0.2.15/biometrics_major.cwl
+11 −0 biometrics_major/0.2.15/example_inputs.yaml
+1 −1 biometrics_major/README.md
+130 −0 biometrics_minor/0.2.15/biometrics_minor.cwl
+11 −0 biometrics_minor/0.2.15/example_inputs.yaml
+1 −1 biometrics_minor/README.md
+110 −0 biometrics_sexmismatch/0.2.15/biometrics_sexmismatch.cwl
+10 −0 biometrics_sexmismatch/0.2.15/example_inputs.yaml
+1 −1 biometrics_sexmismatch/README.md
+1 −1 cci_utils/0.3.1/general_stats_parse.cwl
+3 −0 cci_utils/0.3.2/example_inputs.yaml
+61 −0 cci_utils/0.3.2/general_stats_parse.cwl
+9 −38 docs/SUMMARY.md
+76 −0 docs/biometrics/biometrics_extract_0.2.15.md
+60 −0 docs/biometrics/biometrics_genotype_0.2.15.md
+56 −0 docs/biometrics/biometrics_major_0.2.15.md
+56 −0 docs/biometrics/biometrics_minor_0.2.15.md
+56 −0 docs/biometrics/biometrics_sexmismatch_0.2.15.md
+1 −1 docs/cci_utils/general_stats_parse_0.3.1.md
+46 −0 docs/cci_utils/general_stats_parse_0.3.2.md
+1 −1 docs/postprocessing_variant_calls/maf_annotated_by_bed_0.2.2.md
+60 −0 docs/postprocessing_variant_calls/maf_annotated_by_tsv_0.2.3.md
+57 −0 docs/postprocessing_variant_calls/maf_filter_cmoch_0.2.3.md
+57 −0 docs/postprocessing_variant_calls/maf_tag_cmoch_0.2.3.md
+20 −2 oncokb_annotator_3.2.2/oncokb_annotator_3-2-2.cwl
+3 −0 postprocessing_variant_calls/0.2.2/container/README.md
+20 −3 postprocessing_variant_calls/0.2.2/maf_annotated_by_bed/maf_annotated_by_bed.cwl
+3 −0 postprocessing_variant_calls/0.2.3/container/README.md
+42 −0 postprocessing_variant_calls/0.2.3/maf_annotated_by_bed/README.md
+4 −0 postprocessing_variant_calls/0.2.3/maf_annotated_by_bed/example_inputs.yaml
+92 −0 postprocessing_variant_calls/0.2.3/maf_annotated_by_bed/maf_annotated_by_bed.cwl
+60 −0 postprocessing_variant_calls/0.2.3/maf_annotated_by_tsv/README.md
+9 −0 postprocessing_variant_calls/0.2.3/maf_annotated_by_tsv/example_input.txt
+103 −0 postprocessing_variant_calls/0.2.3/maf_annotated_by_tsv/maf_annotated_by_tsv.cwl
+57 −0 postprocessing_variant_calls/0.2.3/maf_filter_cmoch/README.md
+4 −0 postprocessing_variant_calls/0.2.3/maf_filter_cmoch/example_input.txt
+88 −0 postprocessing_variant_calls/0.2.3/maf_filter_cmoch/maf_filter_cmoch.cwl
+57 −0 postprocessing_variant_calls/0.2.3/maf_tag_cmoch/README.md
+4 −0 postprocessing_variant_calls/0.2.3/maf_tag_cmoch/example_input.txt
+88 −0 postprocessing_variant_calls/0.2.3/maf_tag_cmoch/maf_tag_cmoch.cwl
+1 −1 snpsift_annotate_5.0/snpsift_annotate_5-0.cwl
+19 −7 vcf2maf_1.6.21/vcf2maf_1.6.21.cwl
25 changes: 17 additions & 8 deletions install_data.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
#!/usr/bin/env bash


# Test data is hosted on Google Drive at:
# https://drive.google.com/u/0/uc?id=1i1GA4AZhuw6Si8RmPFPJxmejIUt3ZZ1D

fileid=1i1GA4AZhuw6Si8RmPFPJxmejIUt3ZZ1D

filename=test_nucleo_qc.tar.gz
# Note: Drive seems to change somewhat frequently how it handles endpoints for large files
# add confirm parameter to link for this to work
# previously used another wget scheme and gdown
wget -O $filename "https://drive.google.com/u/0/uc?id=1i1GA4AZhuw6Si8RmPFPJxmejIUt3ZZ1D&export=download&confirm=t"
foldername=test_data

# Skip if already have test data
[[ -f $filename ]] && exit 0
[[ -d $foldername ]] && exit 0

#curl -c ./cookie -s -k -L "https://drive.google.com/uc?export=download&id=$fileid" > /dev/null
#curl -k -Lb ./cookie "https://drive.google.com/uc?export=download&confirm=`awk '/download/ {print $NF}' ./cookie`&id=${fileid}" -o ${filename}
cd tests/inputs || exit
curl -L "https://drive.usercontent.google.com/download?id=${fileid}&confirm=xxx" -o ${filename}

# Suppress linux warnings for MacOS tar.gz files
if [[ "$OSTYPE" == "linux-gnu" ]]; then
tar --warning=no-unknown-keyword -xzvf $filename -C tests/inputs/
tar --warning=no-unknown-keyword -xzvf $filename
elif [[ "$OSTYPE" == "darwin"* ]]; then
tar -xzvf $filename -C tests/inputs/
tar -xzvf $filename
fi
rm $filename

rm $filename
2 changes: 1 addition & 1 deletion nucleo_aggregate_visualize.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ steps:
source: config
out:
- id: aggregate_parsed_stats
run: cwl-commandlinetools/cci_utils/0.3.1/general_stats_parse.cwl
run: cwl-commandlinetools/cci_utils/0.3.2/general_stats_parse.cwl
label: general_stats_parse
'sbg:x': 870.1131591796875
'sbg:y': 520.0625
Expand Down