-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
popscle/tsv_reader.cpp:93 double_field_at] Cannot access field at 5 >= 5 #37
Comments
It looks like your var.gz file is not in the expectedted format. Could you post the first 2 lines? |
[kyleac@gl-login1 pr_478]$ gzip -cd pr_478_pooled_dsc_pileup.var.gz | head Looks like the CHROM column is empty? |
Your input VCF does not seem like a correct format.
-----------------------------------------------------
Hyun Min Kang, Ph.D.
Associate Professor of Biostatistics
University of Michigan, Ann Arbor
Email : hmkang@umich.edu
…On Mon, Dec 7, 2020 at 3:25 PM Kyle Abraham Campbell < ***@***.***> wrote:
***@***.*** pr_478]$ gzip -cd pr_478_pooled_dsc_pileup.var.gz | head
#SNP_ID CHROM POS REF ALT AF
0 10177 A A 0.42532
1 10235 T T 0.00120
2 10352 T T 0.43750
3 10505 A T 0.00020
4 10506 C G 0.00020
5 10511 G A 0.00020
6 10539 C A 0.00060
7 10542 C T 0.00020
8 10579 C A 0.00020
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#37 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPY5OPPNY5H7HIKY6OGNKDSTU22XANCNFSM4UQXFVUQ>
.
|
Thank you for your help in troubleshooting the pileup output. I was able to solve the issue. I started with a fresh 1000Genomes reference .vcf and directly compared it to my Cell Ranger .bam output to determine and correct the differences (chromosome order and differences in chromosome contig naming conventions). |
I seem to be having a similar issue. However, I cannot see how my plp.var file is malformed? Below are the first few lines of the file: #SNP_ID CHROM POS REF ALT AF |
Could you solved it? I'm with the same issue |
I believe that it has to be tab-delimited. |
My .var.gz file is tab-delimited and has the chr col, so I don't know why I get the error:
The head of .var.gz file looks like this |
@valentinaOpazo Sometimes this could happen due to strange quirks related to htslib. If you share your input files to me, I will see if the issues are reproduced on my end, and suggest a possible fix. |
I share with you this google-drive folder with the 4 output files of dsc-pileup, the .tsv file and the log of Demuxlet with the error |
@hyunminkang Any news? I tried to run it on differents pc (Linux and Mac) and I got the same issue in both |
Your input file is malformed. The .var.gz file contains "empty" chromosome names in the middle of the file and it is causing errors. I don't think this is a bug. |
Hi, I've managed to successfully run the tutorial pileup and freemuxlet successfully as well as a pileup with the 1000g_ref.vcf and barcodes.tsv on a 10x Chromium scRNA-seq sample after some troubleshooting (using popscle_helper_tools to sort 1000g_ref.vcf according to chromosome order output for 10x, downgrading htslib to 1.10.2 for popscle installation, and making a change to the Cmake file as recommended in issue #21):
Now, when I attempt to run freemuxlet on the dsc_pileup output for my sample, I get the following error:
NOTICE [2020/12/07 11:09:55] - Loading pileup information with prefix dir/popscle_out/pr_478/pr_478_pooled_dsc_pileup
NOTICE [2020/12/07 11:09:55] - Reading barcode information from dir/popscle_out/pr_478/pr_478_pooled_dsc_pileup.cel.gz..
NOTICE [2020/12/07 11:09:55] - Finished loading 1907 droplets, skipping 0
NOTICE [2020/12/07 11:09:55] - Reading variant information from dir/popscle_out/pr_478/pr_478_pooled_dsc_pileup.var.gz..
FATAL ERROR -
[dir/popscle/tsv_reader.cpp:93 double_field_at] Cannot access field at 5 >= 5
I'm unsure how to troubleshoot further. Thank you.
The text was updated successfully, but these errors were encountered: