Open CJREID opened 1 month ago
Hi, thanks for you detailed report, there is indeed a bug in the gfa command, I should be able to fix it next week.
Hi @GaetanBenoitDev,
No worries, thanks for the quick reply. Good to know it was a bug and not operator error!
Cam
It should be fixed if you compile from source. I will update the bioconda version in a couple weeks. Thanks
Hi, I'm running into the same issue after compiling metaMDBG from source. My command:
metaMDBG gfa --assembly-dir /data/che --k 21 --threads 24
Stderr:
Assembly dir: /data/che
Used k: 21
Homopolymer compression: 0
Data type: 1
Generating unitig sequences
Loading unitig sequences
Creating assembly graph file
generate_gfa.sh: line 8: 1014218 Segmentation fault (core dumped) metaMDBG gfa --assembly-dir /data/che --k 21 --threads 24
Would appreciate any insight!
Hi,
If you compiled from source, do you use the compiled software in ./bin/metaMDBG ?
Hi, yes, I'm using the compiled software.
Hi there,
I'm running
metaMDBG gfa
version 1.0 installed via bioconda as followsmetaMDBG gfa --assembly-dir /scratch3/rei219/projects/SBM/outputs/metamdbg/plables_test/B --k 21 --contigpath --threads 64
The job is submitted to an HPC system via
slurm
and the following resource request:The assembly folder has the following structure:
Directory structure
``` . ├── contigs.fasta.gz ├── metaMDBG.log └── tmp ├── contig_data.txt ├── contigs_polished.fasta.gz ├── contigs_uncorrected.fasta.gz ├── data.txt ├── input.txt ├── memoryTrack.txt ├── parameters.gz ├── pass_k10 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k11 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k12 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k13 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k14 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k15 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k16 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k17 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k18 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k19 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k20 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k21 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.tmp │ ├── assembly_graph.gfa.unitigs │ ├── assembly_graph.noseq.gfa.tmp │ ├── parameters.gz │ └── unitigs.fasta.gz ├── pass_k22 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k23 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k24 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k25 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k26 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k27 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k28 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k29 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k30 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k31 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k32 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k33 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k34 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k35 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k36 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k37 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k38 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k39 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k40 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k41 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k42 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k43 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k44 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k45 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k46 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k47 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k48 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k49 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k5 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k50 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k51 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k52 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k53 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k54 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k55 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k56 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k57 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k58 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k59 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k6 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k60 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k61 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k62 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k63 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k64 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k65 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k66 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k67 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k68 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k69 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k7 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k70 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k71 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k72 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k73 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k74 │ ├── assembly_graph.gfa │ └── parameters.gz ├── pass_k8 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── pass_k9 │ ├── assembly_graph.gfa │ ├── assembly_graph.gfa.unitigs │ └── parameters.gz ├── perf.txt ├── read_data_init.txt ├── read_stats.txt └── time.txt 71 directories, 225 files ```When I run
gfa
, I get the following printed tostderr
:The end of the
metaMDBG.log
is as follows:I have also tried running with
--thread 1
, without the--contigpath
flag and with 512G memory but get the same error. Unfortunately, I can't find any information that is more informative about where the error is occurring.Any help appreciated!
Thanks,
Cam