Skip to content

Commit

Permalink
Removed global variable from uniprot id output name
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachel-Alcraft committed Jan 25, 2023
1 parent ae0c73b commit 3e17886
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions workflows/cath-shared.nf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ params.cath_version = 'v4_3_0'
params.publish_dir = "$workflow.launchDir/results-${params.dataset_name}"
params.af_version = 4
params.af_download_stem = "gs://public-datasets-deepmind-alphafold-v${params.af_version}"
params.uniprot_ids_csv_fn = "${params.dataset_name}.uniprot_ids.csv"
params.af_cif_raw_dir = "cif_raw"
params.af_cif_chopped_dir = "cif_chopped"

Expand Down Expand Up @@ -81,10 +80,10 @@ process uniprot_domain_to_uniprot {
path uniprot_domain_id

output:
path params.uniprot_ids_csv_fn
path 'uniprot_ids.txt'

"""
cat ${uniprot_domain_id} | tr '/' ' ' | awk '{print \$1}' | sort | uniq > ${params.uniprot_ids_csv_fn}
cat ${uniprot_domain_id} | tr '/' ' ' | awk '{print \$1}' | sort | uniq > uniprot_ids.txt
"""
}

Expand Down

0 comments on commit 3e17886

Please sign in to comment.