Skip to content

Commit

Permalink
Updated manifest.txt to named internally
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachel-Alcraft committed Jan 25, 2023
1 parent ef5a0f8 commit ae0c73b
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 @@ -10,7 +10,6 @@ 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_manifest_fn = "af_manifest.txt"
params.af_cif_raw_dir = "cif_raw"
params.af_cif_chopped_dir = "cif_chopped"

Expand All @@ -19,10 +18,10 @@ process create_af_manifest_file {
path uniprot_id_file

output:
path params.af_manifest_fn
path 'manifest.txt'

"""
cat ${uniprot_id_file} | awk '{print "${params.af_download_stem}/AF-"\$1"-F*.cif"}' > ${params.af_manifest_fn}
cat ${uniprot_id_file} | awk '{print "${params.af_download_stem}/AF-"\$1"-F*.cif"}' > manifest.txt
"""
}

Expand Down

0 comments on commit ae0c73b

Please sign in to comment.