def test_vcfstats(self):
        path = "DVALABP0/SHIP0/vcfstats/201016-211551-384-09f32fd4/output/SHIP0.rtg.vcfstats.data.txt"

        result = main.check_protected_patterns(path)
        assert result == True
    def test_flagstat(self):
        path = "DVALABP0/SHIP0/flagstat/201016-164150-761-9c958716/output/SHIP0.bam.flagstat.data.tsv"

        result = main.check_protected_patterns(path)
        assert result == True
    def test_fastqs(self):
        path = "DVALABP0/SHIP0/bam-fastqc/201016-164150-310-9c958716/output/SHIP0.bam.fastqc.data.txt"

        result = main.check_protected_patterns(path)
        assert result == True
    def test_gvcf_tbi(self):
        path = "DVALABP0/SHIP0/gatk-5-dollar/201016-005855-366-0ee9d9a6/output/germline_single_sample_workflow/3fb18586-5ded-4967-8303-30c0bba2cda7/call-MergeVCFs/SHIP0.g.vcf.gz.tbi"

        result = main.check_protected_patterns(path)
        assert result == True
    def test_fastq(self):
        path = "va_mvp_phase2/DVALABP0/SHIP0/FASTQ/SHIP0_1_R1.fastq.gz"

        result = main.check_protected_patterns(path)
        assert result == True
    def test_crai(self):
        path = "DVALABP0/SHIP0/gatk-5-dollar/201016-005855-366-0ee9d9a6/output/germline_single_sample_workflow/3fb18586-5ded-4967-8303-30c0bba2cda7/call-ConvertToCram/SHIP0.cram.crai"

        result = main.check_protected_patterns(path)
        assert result == True
    def test_vcf(self):
        path = "DVALABP0/SHIP0/gatk-5-dollar/201016-010142-962-a6fc4c8a/output/germline_single_sample_workflow/3b4eda76-6fa3-4f84-bce2-ce76825c7edc/call-HaplotypeCaller4/shard-46/SHIP0.vcf.gz"

        result = main.check_protected_patterns(path)
        assert result == False
    def test_bam(self):
        path = "DVALABP0/SHIP0/gatk-5-dollar/201016-005839-926-ef44df7f/output/germline_single_sample_workflow/6fd6a37d-a1e5-4d8d-b415-9b3d0682583f/call-MarkDuplicates/SHIP0.aligned.unsorted.duplicates_marked.bam"

        result = main.check_protected_patterns(path)
        assert result == False