Skip to content

Commit

Permalink
remove explicit threading restrictions (#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
atc3 authored Nov 30, 2021
1 parent a7beca5 commit 7a578b4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
5 changes: 0 additions & 5 deletions workflow_main/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ rule build_location_tree:
)
output:
geo_select_tree = os.path.join(data_folder, "geo_select_tree.json")
threads: workflow.cores / 2
run:
geo_select_tree = build_location_tree(
input.case_data, input.metadata_map, input.emoji_map_file,
Expand Down Expand Up @@ -232,7 +231,6 @@ rule consensus_mutations:
output:
group_consensus_mutations = os.path.join(data_folder, "group_consensus_mutations.json"),
group_mutation_frequencies = os.path.join(data_folder, "group_mutation_frequencies.json")
threads: workflow.cores / 2
run:
get_all_consensus_mutations(
input.case_data, output.group_consensus_mutations, output.group_mutation_frequencies,
Expand All @@ -252,7 +250,6 @@ rule global_group_counts:
global_group_counts = os.path.join(
data_folder, "global_group_counts.json"
)
threads: workflow.cores / 2
run:
global_group_counts(
input.case_data, output.global_group_counts,
Expand All @@ -272,7 +269,6 @@ rule assemble_data_package:
metadata_map = rules.combine_all_data.output.metadata_map
output:
data_package = os.path.join(data_folder, "data_package.json.gz")
threads: workflow.cores / 2
run:
assemble_data_package(
**input,
Expand All @@ -285,7 +281,6 @@ rule build_full_dataframe:
metadata_map = rules.combine_all_data.output.metadata_map
output:
full_df = os.path.join(data_folder, 'data_complete.csv')
threads: workflow.cores / 2
run:
build_full_dataframe(input.case_data, input.metadata_map, output.full_df)

Expand Down
4 changes: 0 additions & 4 deletions workflow_main/analyses/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ rule az_reports:
spike_cooc_region = os.path.join(az_report_out, 'spike_cooc_region.csv'),
lineage_global = os.path.join(az_report_out, 'lineage_global.csv'),
lineage_region = os.path.join(az_report_out, 'lineage_region.csv'),
threads: workflow.cores / 2
run:
generate_az_reports(input.case_data, input.metadata_map, output.report_out)

Expand All @@ -55,7 +54,6 @@ rule surveillance_data:
end_date_days_ago = config.get('surv_end_date_days_ago', 30),
min_combo_count = config['surv_min_combo_count'],
min_single_count = config['surv_min_single_count']
threads: workflow.cores / 2
output:
group_counts = os.path.join(data_folder, 'surveillance', 'group_counts2.csv'),
group_regression = os.path.join(data_folder, 'surveillance', 'group_regression2.csv'),
Expand All @@ -75,7 +73,6 @@ rule global_sequencing_efforts:
metadata_map = os.path.join(data_folder, "metadata_map.json"),
output:
country_score = os.path.join(data_folder, "country_score.json")
threads: workflow.cores / 2
run:
global_sequencing_efforts(
input.case_data, input.metadata_map,
Expand Down Expand Up @@ -104,7 +101,6 @@ rule global_seq_data:
sequences_per_month = os.path.join(data_folder, "new_global_data", "sequences_per_month.json"),
turnaround_per_month = os.path.join(data_folder, "new_global_data", "turnaround_per_month.json"),
iso_lookup = os.path.join(data_folder, "new_global_data", "iso_lookup.json")
threads: workflow.cores / 2
shell:
"""
python3 analyses/scripts/global_seq_data.py --case-data {input.case_data} --metadata-map {input.metadata_map} -o {params.out_folder}
Expand Down
2 changes: 0 additions & 2 deletions workflow_main/phylotree/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ rule get_representative_sequences:
representatives = os.path.join(data_folder, "lineage_representatives.fa"),
datefile = os.path.join(data_folder, "lineage_representative_dates.csv"),
table = os.path.join(data_folder, 'lineage_representative_table.csv')
threads: workflow.cores / 2
run:
get_representative_seqs(
input.case_data, input.metadata_map, input.ref_seq,
Expand Down Expand Up @@ -85,7 +84,6 @@ rule build_phylotree_graph:
representative_table = rules.get_representative_sequences.output.table
output:
graph_table = os.path.join(data_folder, 'lineage_tree_graph.json')
threads: workflow.cores / 2
run:
build_graph_table(
input.case_data,
Expand Down

0 comments on commit 7a578b4

Please sign in to comment.