10XGenomics / vartrix

Single-Cell Genotyping Tool
MIT License
185 stars 27 forks source link

crash reports #29

Closed ruqianl closed 4 years ago

ruqianl commented 4 years ago

Hi,

With command as /mnt/mcfiles/rlyu/Software/vartrix-v1.1.4-x86_64-linux/vartrix -v $snps -b ../W12/outs/possorted_genome_bam.bam -f $fasta_unzipped \ -c ../W12/outs/filtered_feature_bc_matrix/barcodes.tsv -o ../output/vartrix/matrix/ --out-variants ../output/vartrix/variants/ --umi --threads 8

Below is the crash report. Running on around 4k cells.


name = 'vartrix'
operating_system = 'unix:Ubuntu'
crate_version = '1.1.3'
explanation = '''
Panic occurred in file 'src/libcore/result.rs' at line 997
'''
method = 'Panic'
backtrace = '''
stack backtrace:
   0:     0x55ffdb9e0b6d - trace
                        at /mnt/home/ian.fiddes/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/backtrace/libunwind.rs:53
                         - trace<closure>
                        at /mnt/home/ian.fiddes/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/backtrace/mod.rs:42
   1:     0x55ffdb9d20fd - handle_dump
                        at /mnt/home/ian.fiddes/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/capture.rs:88
   2:     0x55ffdbb0f587 - {{closure}}
                        at /mnt/yard2/ian/vartrix/<::human_panic::setup_panic macros>:18
   3:     0x55ffdbabe3ae - rust_panic_with_hook
                        at src/libstd/panicking.rs:482
   4:     0x55ffdbabe12e - continue_panic_fmt
                        at src/libstd/panicking.rs:385
   5:     0x55ffdbad1675 - rust_begin_unwind
   6:     0x55ffdbad5fdb - panic_fmt
                        at src/libcore/panicking.rs:85
   7:     0x55ffdbac9b76 - unwrap_failed<std::io::error::Error>
                        at /rustc/fc50f328b0353b285421b8ff5d4100966387a997/src/libcore/macros.rs:17
   8:     0x55ffdbb0c28b - _main
                        at src/main.rs:0
   9:     0x55ffdbb0147c - main
                        at src/main.rs:152
  10:     0x55ffdbaf5e32 - std::rt::lang_start::{{closure}}::h0344adcd09bf53fd
  11:     0x55ffdbb00713 - main
  12:     0x7f67cc825b96 - __libc_start_main
  13:     0x55ffdb9cd1c8 - <unknown>'''

Thanks, Ruqian

ifiddes-10x-zz commented 4 years ago

This is weird. Another person saw a similar issue that I was not able to reproduce. The line numbers don't really make any sense. I have two requests: 1) Are you able to send me your input files via the 10x Redstone system? Instructions are here https://support.10xgenomics.com/docs/transfers 2) Are you able to try and compile this yourself instead of using the provided binaries? Does this error still occur?

ruqianl commented 4 years ago

Thanks for your reply, I'm going to try option 2 first and will get back to you after that.

Cheers, Ruqian

eyalbenda commented 4 years ago

I got the same error, and solved it by decompressing the barcodes.tsv.gz file from 10x with gzip -d.

ruqianl commented 4 years ago

I got the same error, and solved it by decompressing the barcodes.tsv.gz file from 10x with gzip -d.

Thanks, but my input barcode.tsv is already decompressed.

dtm2117 commented 4 years ago

Following this because I got the exact same error.

I'm using a VCF 4.2 from a CombineGVCF gatk command.

ruqianl commented 4 years ago

Hi @ifiddes-10x ,

I tried building from source and re-execute the script. It crashed again. This time it looks different from before: ` stack backtrace: 0: 0x55f046ed067d - backtrace::backtrace::libunwind::trace::ha96a492236bb4193 at /home/AD.EDU.AU/rlyu/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/backtrace/libunwind.rs:53

pmarks commented 4 years ago

@Rachael-rq - the issue is that -o and --out-variants need to be concrete filenames, not paths ending in /. I'll add better error messages for that case, sorry for the confusion!

ruqianl commented 4 years ago

Thanks, @pmarks , that was it! It now runs properly.

Cheers, R