Skip to content
Snippets Groups Projects
Commit 4cb05ff4 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

format pfam

parent d2fd70a5
No related branches found
No related tags found
No related merge requests found
Pipeline #112450 failed
......@@ -9,7 +9,8 @@ cache:
- node_modules/
stages:
- pfam
- get-data
- format-data
- build
- deploy
......@@ -40,19 +41,33 @@ stages:
# when: on_success
# expire_in: "30 days"
pfam:
get-pfam:
image: ubuntu:23.04
stage: pfam
stage: get-data
before_script:
- apt update && apt install -y curl
- curl https://ftp.ebi.ac.uk/pub/databases/Pfam/current_release/Pfam-A.hmm.dat.gz --output pfam-data.gz
- ls -al
script:
- gunzip pfam-data.gz
- ls -al
# artifacts:
# paths:
# - mycv.p
- ls -al pfam-data/
artifacts:
paths:
- pfam-data/Pfam-A.hmm.dat
format-pfam:
image: python:3.11
needs:
- "get-pfam"
before_script:
- pip install pandas
- mv pfam-data/Pfam-A.hmm.dat scripts
script:
- ./scripts/pfam-a-hmm-to-csv.py
- mv ./scripts/Pfam-A.hmm.dat.csv content/_partial/pfam-a-hmm.csv
artifacts:
paths:
- content/_partial/pfam-a-hmm.csv
build:dev:
extends: .build
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment