Skip to content

Error in readAllelesFiles(alleles.prefix, ".txt", chrom_names) : length(files) > 0 is not TRUE #213

Description

@fiviviani

Hi,
I'm sorry to bother, but I was not able to find the solution in the previous issues and I don't know how to fix the issue because all the files seem fine.

I'm running ascat.prepareHTS on both tumor and normal WGS samples, I dowloaded the reference files (alleles and loci files for hg38 + Tumor/Germline_LogR/BAF) and added the "chr" prexif as needed for my BAM files.

So, I ran

ascat.prepareHTS(
tumourseqfile = "/wgs/bam_CNV/WGS/ID148-T.final.bam",
normalseqfile = "/wgs/bam_CNV/WGS/ID148-N.final.bam",
tumourname = "ID148-T",
normalname = "ID148-N",
allelecounter_exe = "/utilities/genomic_tools_fv/bin/alleleCounter",
alleles.prefix = "/wgs/ASCAT/G1000_alleles_WGS_hg38/G1000_alleles_hg38",
loci.prefix = "/wgs/ASCAT/G1000_loci_WGS_hg38/G1000_loci_hg38_chr",
gender = "XY",
genomeVersion = "hg38",
nthreads = 18,
tumourLogR_file = "/wgs/ASCAT/Tumor_LogR.txt",
tumourBAF_file = "/wgs/ASCAT/Tumor_BAF.txt",
normalLogR_file = "/wgs/ASCAT/Germline_LogR.txt",
normalBAF_file = "/wgs/ASCAT/Germline_BAF.txt")

This is the output

[W::hts_idx_load3] The index file is older than the data file: /wgs/bam_CNV/WGS/ID148-T.final.bam.bai
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Reading locis
Done reading locis
Multi pos start:
Reading locis
Done reading locis
Multi pos start:
Reading locis
Done reading locis
Multi pos start:
Reading locis
Done reading locis
Multi pos start:
Reading locis
Done reading locis
Multi pos start:
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Reading locis
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Reading locis
Done reading locis
Multi pos start:
Reading locis
Reading locis
Done reading locis
Multi pos start:
Done reading locis
Multi pos start:
Reading locis
Done reading locis
Multi pos start:
Reading locis
Done reading locis
Multi pos start:
Error in readAllelesFiles(alleles.prefix, ".txt", chrom_names) :
length(files) > 0 is not TRUE

But the alleleFrequencies files seem to have been correctly created

  • ID148-N_alleleFrequencies_chr1
    #CHR POS Count_A Count_C Count_G Count_T Good_depth
    chr1 809641 0 0 20 11 31
    chr1 812761 3 0 16 0 19
    chr1 817186 16 0 15 0 31
    chr1 818954 0 17 0 14 31
    chr1 825532 0 11 0 21 32

  • ID148-T_alleleFrequencies_chr1
    #CHR POS Count_A Count_C Count_G Count_T Good_depth
    chr1 809641 0 0 35 24 59
    chr1 812761 12 0 33 0 45
    chr1 817186 26 0 42 0 68
    chr1 818954 0 33 0 34 67
    chr1 825532 0 41 0 39 80

Would you please help me?
Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions