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

Fix test syntax issues passing #531

Merged
merged 2 commits into from
Sep 30, 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
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
value: 68000
delta: 5000
mitogenome_genbank:
assert:
has_n_line:
asserts:
has_n_lines:
n: 480
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,18 @@
Ploidy: 1
outputs:
GenomeScope linear plot:
class: File
lldelisle marked this conversation as resolved.
Show resolved Hide resolved
file: test-data/GenomeScope_Linear_plot.png
compare: sim_size
delta: 10000
GenomeScope log plot:
class: File
file: test-data/GenomeScope_Log_plot.png
compare: sim_size
delta: 10000
GenomeScope transformed linear plot:
class: File
file: test-data/GenomeScope_Transformed_linear_plot.png
compare: sim_size
delta: 10000
GenomeScope transformed log plot:
class: File
file: test-data/GenomeScope_Transformed_log_plot.png
compare: sim_size
delta: 10000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,14 @@
Ploidy: 1
outputs:
GenomeScope linear plot (maternal):
class: File
file: test-data/GenomeScope_Linear_plot_maternal.png
compare: sim_size
delta: 15000
GenomeScope linear plot (paternal):
class: File
file: test-data/GenomeScope_Linear_plot_paternal.png
compare: sim_size
delta: 15000
GenomeScope linear plot (child):
class: File
file: test-data/GenomeScope_Linear_plot_child.png
compare: sim_size
delta: 15000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,55 +5,55 @@
path: https://zenodo.org/records/11488310/files/shovill_contigs_fasta
outputs:
staramr_detailed_summary:
assert:
has_text:
text: "Resistance"
has_n_columns:
n: 12
asserts:
has_text:
text: "Resistance"
has_n_columns:
n: 12
staramr_resfinder_report:
assert:
has_text:
text: "tetracycline"
has_n_columns:
n: 13
asserts:
has_text:
text: "tetracycline"
has_n_columns:
n: 13
staramr_mlst_report:
assert:
asserts:
has_text:
text: "efaecalis"
has_n_columns:
n: 10
staramr_plasmidfinder_report:
assert:
asserts:
has_text:
text: "CP002494"
has_n_columns:
n: 9
staramr_summary:
assert:
asserts:
has_text:
text: "streptomycin"
has_n_columns:
n: 12
amrfinderplus_report:
assert:
asserts:
has_text:
text: "Enterococcus faecalis quinolone resistant ParC"
has_n_columns:
n: 23
amrfinderplus_mutation:
assert:
asserts:
has_text:
text: "cardiolipin synthase Cls"
has_n_columns:
n: 23
abricate_virulence_report:
assert:
asserts:
has_text:
text: "endocarditis specific antigen"
has_n_columns:
n: 15
tooldistillator_summarize:
assert:
asserts:
has_text:
text: "% Identity to reference sequence"
has_text:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@
SuCOS threshold: 0
outputs:
Scored and filtered poses:
class: File
assert:
has_line: "$$$$"
n: 4
assert:
has_test: "SuCOS_Score"
n: 4
asserts:
has_line:
line: "$$$$"
n: 4
asserts:
has_text:
text: "SuCOS_Score"
n: 4
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
bin_size: 50
outputs:
average_bigwigs:
class: Collection
collection_type: list
attributes:
collection_type: list
element_tests:
ATAC_HH19_PT:
asserts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
value: 47830
delta: 4000
plot with pyGenomeTracks:
class: File
file: test-data/plot_chic.png
compare: sim_size
delta: 1500
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
value: 149349
delta: 10000
plot with pyGenomeTracks:
class: File
file: test-data/plot_hic.png
compare: sim_size
delta: 1500
Original file line number Diff line number Diff line change
Expand Up @@ -12,52 +12,52 @@
Select a NCBI taxonomy database: "2022-03-08"
outputs:
fastp_report_json:
assert:
asserts:
has_text:
text: "fastp_version"
has_text:
text: "read2_before_filtering"
kraken_report_tabular:
assert:
asserts:
has_text:
text: "Enterococcus avium"
has_n_column:
has_n_columns:
n: 6
kraken_report_reads:
assert:
asserts:
has_text:
text: "M07044:90:000000000-JRJWP:1:1119:23974:4461"
has_n_column:
has_n_columns:
n: 5
bracken_kraken_report:
assert:
asserts:
has_text:
text: "Enterococcus gallinarum"
has_n_column:
has_n_columns:
n: 6
bracken_report_tsv:
assert:
asserts:
has_text:
text: "Escherichia coli"
has_n_column:
has_n_columns:
n: 7
recentrifuge_data_tabular:
assert:
asserts:
has_text:
text: "Enterococcus faecalis"
has_n_column:
has_n_columns:
n: 6
recentrifuge_stats_tabular:
assert:
asserts:
has_text:
text: "input_dir/kraken_report_reads"
has_n_column:
has_n_columns:
n: 2
tooldistillator_summarize:
assert:
has_text:
asserts:
- that: has_text
text: "fastp_report"
has_text:
- that: has_text
text: "ncbi_taxonomic_id"
has_text:
- that: has_text
text: "kraken2_report"
Loading