File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,11 +30,16 @@ NanoPlot --summary nanotest/sequencing_summary.txt --loglength --verbose -o test
3030echo " testing fastq_rich with downsample, store, and custom prefix:"
3131NanoPlot --fastq_rich nanotest/reads.fastq.gz --verbose --downsample 500 -o tests --store --prefix test_
3232
33- echo " testing fastq_minimal with plots, color, and threads :"
34- NanoPlot --fastq_minimal nanotest/reads.fastq.gz --verbose --plots dot -o tests --color red --threads 2
33+ echo " testing fastq_minimal with plots, color, threads, and only-report :"
34+ NanoPlot --fastq_minimal nanotest/reads.fastq.gz --verbose --plots dot -o tests --color red --threads 2 --only-report
3535
36- echo " testing cram with multiple formats, length filtering, and only_report:"
37- NanoPlot --cram nanotest/alignment.cram --verbose -o tests --format png jpeg --minlength 1000 --maxlength 40000 --only_report
36+ # Check if CRAM file exists before testing
37+ if [ -f " nanotest/alignment.cram" ]; then
38+ echo " testing cram with multiple formats, length filtering:"
39+ NanoPlot --cram nanotest/alignment.cram --verbose -o tests --format png jpeg --minlength 1000 --maxlength 40000
40+ else
41+ echo " CRAM file not found, skipping CRAM test (run make_cram.sh to create it)"
42+ fi
3843
3944echo " testing summary with barcoded (warning expected) and raw export:"
4045NanoPlot --summary nanotest/sequencing_summary.txt --barcoded --verbose -o tests --raw
You can’t perform that action at this time.
0 commit comments