Replies: 1 comment 1 reply
-
|
How long are your reads? I may have had a similar issue. If you run The default |
Beta Was this translation helpful? Give feedback.
-
|
How long are your reads? I may have had a similar issue. If you run The default |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to map single samples and this function of phg seems fairly buggy. I'm doing single samples at a time to map different samples in parallel, instead of serially from a single keyfile (e.g. walltime limits etc.).
my command (it is still annoying that it'll crash if the directory doesn't exist):
mkdir -p output/read_mappings/BPS1240_t40; export JAVA_OPTS='-Xmx270g'; ../bin/phg map-reads --threads 34 --hvcf-dir output/vcf_files --index output/index_files/phg27.fmd --read-files data/fastq_output/SRR6311492_1.fastq.gz,data/fastq_output/SRR6311492_2.fastq.gz --output-dir output/read_mappings/BPS1240_t40
From my output from one of the files:
[main] INFO net.maizegenetics.phgv2.api.HaplotypeGraph 2025-08-01 09:24:39,798: rangeToSampleToChecksum: 124921 x 55
[main] INFO net.maizegenetics.phgv2.api.HaplotypeGraph 2025-08-01 09:24:39,798: numOfSamples: 55
[main] INFO net.maizegenetics.phgv2.api.HaplotypeGraph 2025-08-01 09:24:39,799: numOfRanges: 124921
[main] INFO net.maizegenetics.phgv2.pathing.ropebwt.MapReads 2025-08-01 09:24:41,866: Mapping reads to pangenome
[main] INFO net.maizegenetics.phgv2.pathing.ropebwt.MapReads 2025-08-01 09:24:41,867: Mapping reads in data/fastq_output/SRR6311492_1.fastq.gz to output/index_files/phg27.fmd
[main] INFO net.maizegenetics.phgv2.pathing.ropebwt.MapReads 2025-08-01 11:17:36,735: Writing read mapping to output/read_mappings/BPS1240_t40/SRR6311492_1_1_readMapping.txt
[main] INFO net.maizegenetics.phgv2.pathing.ropebwt.MapReads 2025-08-01 11:17:37,013: Mapping reads in data/fastq_output/SRR6311492_2.fastq.gz to output/index_files/phg27.fmd
And yet the output file only has the header in it.
-rw-rw-r-- 1 mefftrrfrf proj-cotton_genomics 89 Aug 1 11:17 output/read_mappings/BPS1240_t40/SRR6311492_1_1_readMapping.txt
there aren't any other errors or warnings. What is going on? I've tried many different iterations, but always the same result. Are there temp files that need to be deleted? I have been testing on the same samples. Is there an entry in the database that flags the creation of the read_mapping output?
BTW - the website says "If you do not want to create a keyfile and only have one sample ...", but using the --read-files parameter phg creates a keyfile anyway. Is there a way to toggle that off??
Beta Was this translation helpful? Give feedback.
All reactions