Mercurial > repos > iuc > falco
diff falco.xml @ 2:2b29a20e9869 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/falco commit a71120623d1dc818a107ca32f2c232fd47d819ea
| author | iuc |
|---|---|
| date | Fri, 27 Sep 2024 17:41:19 +0000 |
| parents | 0f4aadf6988c |
| children |
line wrap: on
line diff
--- a/falco.xml Tue Sep 10 19:02:22 2024 +0000 +++ b/falco.xml Fri Sep 27 17:41:19 2024 +0000 @@ -1,7 +1,7 @@ <tool id="falco" name="Falco" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05"> <description>An alternative, more performant implementation of FastQC for high throughput sequence quality control</description> <macros> - <token name="@TOOL_VERSION@">1.2.3</token> + <token name="@TOOL_VERSION@">1.2.4</token> <token name="@VERSION_SUFFIX@">0</token> </macros> <xrefs> @@ -74,28 +74,81 @@ </data> </outputs> <tests> + <!-- Test with fastq input --> <test expect_num_outputs="2"> <param name="input_file" value="1000trimmed.fastq"/> - <output name="html_file" file="fastqc_report.html" ftype="html" lines_diff="2"/> - <output name="text_file" file="fastqc_data.txt" ftype="txt"/> + <output name="html_file" ftype="html"> + <assert_contents> + <has_line_matching expression="<html><head>.+<title> 1000trimmed_fastq - report.+"/> + </assert_contents> + </output> + <!-- two lines diff to allow for reported version to change --> + <output name="text_file" file="fastqc_data.txt" ftype="txt" lines_diff="2"/> + </test> + <!-- Test with fastq.gz input --> + <test expect_num_outputs="2"> + <param name="input_file" value="1000trimmed.fastq.gz"/> + <output name="html_file" ftype="html"> + <assert_contents> + <has_line_matching expression="<html><head>.+<title> 1000trimmed_fastq_gz - report.+"/> + </assert_contents> + </output> + <!-- four lines diff to allow for reported version to change; two more to accomodate changed input file name --> + <output name="text_file" file="fastqc_data.txt" ftype="txt" lines_diff="4"/> + </test> + <!-- Test with BAM input --> + <test expect_num_outputs="2"> + <param name="input_file" value="hisat_output_1.bam"/> + <output name="html_file" ftype="html"> + <assert_contents> + <has_line_matching expression="<html><head>.+<title> hisat_output_1_bam - report.+"/> + </assert_contents> + </output> + <!-- four lines diff to allow for reported version to change; two more to accomodate changed input file name --> + <output name="text_file" file="fastqc_data_hisat.txt" ftype="txt" lines_diff="4"/> + </test> + <!-- Test summary file option --> + <test expect_num_outputs="3"> + <param name="input_file" value="1000trimmed.fastq"/> + <param name="generate_summary" value="true"/> + <output name="html_file" ftype="html"> + <assert_contents> + <has_line_matching expression="<html><head>.+<title> 1000trimmed_fastq - report.+"/> + </assert_contents> + </output> + <output name="text_file" file="fastqc_data.txt" ftype="txt" lines_diff="2"/> + <output name="summary_file" file="fastqc_data_summary.txt" ftype="txt"/> </test> <test expect_num_outputs="2"> <param name="input_file" value="1000trimmed.fastq"/> <param name="contaminants" value="contaminant_list.txt" ftype="tabular"/> - <output name="html_file" file="fastqc_report_contaminants.html" ftype="html" lines_diff="2"/> - <output name="text_file" file="fastqc_data_contaminants.txt" ftype="txt"/> + <output name="html_file" ftype="html"> + <assert_contents> + <has_line_matching expression="<html><head>.+<title> 1000trimmed_fastq - report.+"/> + </assert_contents> + </output> + <output name="text_file" file="fastqc_data_contaminants.txt" ftype="txt" lines_diff="2"/> </test> <test expect_num_outputs="2"> <param name="input_file" value="1000trimmed.fastq"/> <param name="adapters" value="adapter_list.txt" ftype="tabular"/> - <output name="html_file" file="fastqc_report_adapters.html" ftype="html" lines_diff="2"/> - <output name="text_file" file="fastqc_data_adapters.txt" ftype="txt"/> + <output name="html_file" ftype="html"> + <assert_contents> + <has_line_matching expression="<html><head>.+<title> 1000trimmed_fastq - report.+"/> + </assert_contents> + </output> + <output name="text_file" file="fastqc_data_adapters.txt" ftype="txt" lines_diff="2"/> </test> - <test expect_num_outputs="2"> + <test expect_num_outputs="3"> <param name="input_file" value="1000trimmed.fastq"/> <param name="limits" value="limits.txt" ftype="txt"/> - <output name="html_file" file="fastqc_report_customlimits.html" ftype="html" lines_diff="2"/> - <output name="text_file" file="fastqc_data_customlimits.txt" ftype="txt"/> + <param name="generate_summary" value="true"/> + <output name="html_file" ftype="html"> + <assert_contents> + <has_line_matching expression="<html><head>.+<title> 1000trimmed_fastq - report.+"/> + </assert_contents> + </output> + <output name="summary_file" file="fastqc_data_customlimits_summary.txt" ftype="txt"/> </test> <!-- ## The kmers param is ignored in Falco and always set to 7. If this ever gets reconsidered, this test could be uncommented. <test expect_num_outputs="2"> @@ -116,40 +169,49 @@ <output name="html_file" file="fastqc_report_min_length.html" ftype="html" lines_diff="2"/> <output name="text_file" file="fastqc_data_min_length.txt" ftype="txt"/> </test> --> - <test expect_num_outputs="3"> + <test expect_num_outputs="2"> <param name="input_file" value="1000trimmed.fastq" ftype="fastq"/> <param name="nogroup" value="--nogroup"/> - <param name="generate_summary" value="true"/> - <output name="html_file" file="fastqc_report_nogroup.html" ftype="html" lines_diff="2"/> - <output name="text_file" file="fastqc_data_nogroup.txt" ftype="txt"/> - <output name="summary_file" file="fastqc_data_nogroup_summary.txt" ftype="txt"/> - <assert_command> - <has_text text="--nogroup"/> - </assert_command> + <output name="html_file" ftype="html"> + <assert_contents> + <has_line_matching expression="<html><head>.+<title> 1000trimmed_fastq - report.+"/> + </assert_contents> + </output> + <output name="text_file" file="fastqc_data_nogroup.txt" ftype="txt" lines_diff="2"/> </test> <test expect_num_outputs="3"> <param name="input_file" value="1000trimmed.fastq"/> <param name="subsample" value="10"/> <param name="generate_summary" value="true"/> - <output name="html_file" file="fastqc_report_subsample.html" ftype="html" lines_diff="2"/> - <output name="text_file" file="fastqc_report_subsample.txt" ftype="txt"/> + <output name="html_file" ftype="html"> + <assert_contents> + <has_line_matching expression="<html><head>.+<title> 1000trimmed_fastq - report.+"/> + </assert_contents> + </output> + <output name="text_file" file="fastqc_report_subsample.txt" ftype="txt" lines_diff="2"/> <output name="summary_file" file="fastqc_report_subsample_summary.txt" ftype="txt"/> </test> <test expect_num_outputs="3"> <param name="input_file" value="1000trimmed.fastq"/> <param name="bisulfite" value="-bisulfite"/> <param name="generate_summary" value="true"/> - <output name="html_file" file="fastqc_report_bisulfite.html" ftype="html" lines_diff="2"/> - <output name="text_file" file="fastqc_report_bisulfite.txt" ftype="txt"/> + <output name="html_file" ftype="html"> + <assert_contents> + <has_line_matching expression="<html><head>.+<title> 1000trimmed_fastq - report.+"/> + </assert_contents> + </output> + <output name="text_file" file="fastqc_report_bisulfite.txt" ftype="txt" lines_diff="2"/> <output name="summary_file" file="fastqc_report_bisulfite_summary.txt" ftype="txt"/> </test> - <test expect_num_outputs="3"> + <test expect_num_outputs="2"> <param name="input_file" value="1000trimmed.fastq"/> <param name="reverse_complement" value="-reverse-complement"/> - <param name="generate_summary" value="true"/> - <output name="html_file" file="fastqc_report_reverse_complement.html" ftype="html" lines_diff="2"/> - <output name="text_file" file="fastqc_report_reverse_complement.txt" ftype="txt"/> - <output name="summary_file" file="fastqc_report_reverse_complement_summary.txt" ftype="txt"/> + <output name="html_file" ftype="html"> + <assert_contents> + <has_line_matching expression="<html><head>.+<title> 1000trimmed_fastq - report.+"/> + </assert_contents> + </output> + <output name="text_file" file="fastqc_report_reverse_complement.txt" ftype="txt" lines_diff="2"/> </test> </tests> <help><