-
Notifications
You must be signed in to change notification settings - Fork 23
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
error in HERV #10
Comments
Hi, for HERV, could you try to run with "-f 1555" instead of "-f 5907". |
Could you post the content of the generated .sh file? Also any error reported? |
This is the content of the generated .sh file. |
Could you post the content of |
This is the content of |
|
Dear @simoncchu Thanks a lot for helping with issues and questions, the program works perfectly for LINE1, ALU, and SVA now. But I have the same error mentioned above for HERV. However, job is completed (not failed) and the final output (candidate_disc_filtered_cns_with_gene.txt) is there. I was wondering why VCF file is not made for HERV like other MEIs (such as L1, ALU, and SVA). And how to use the information of candidate_disc_filtered_cns_with_gene.txt file along with those VCF files of other MEIs for downstream analysis? Thank you for your kind help, Best regards, |
@dr-ashu-geno right now I didn't output the vcf format. As initially, we do not think there are many herv insertions. The current output tells you the positions, maybe you can covert to a simpler version of vcf for now. I'll add the standard output in the next release. |
Hello, |
@wxu005, not that many HERV are polymorphic, most of the copies are fixed and no "SV level difference" compared to the reference genome. |
Hi,
xTea works well for L1/Alu/SVA, but I got some errors in HERV.
First error is like below.
Traceback (most recent call last): File "/home/sijaewoo/tools/xTea/xtea/x_TEA_main.py", line 1118, in <module> xmutation.call_mutations_from_reads_algnmt(sf_sites, sf_cns, n_len_cutoff, n_jobs, sf_merged_vcf) File "/home/sijaewoo/tools/xTea/xtea/x_mutation.py", line 39, in call_mutations_from_reads_algnmt m_sites=xsites.load_in_qualified_sites_from_xTEA_output(i_len_cutoff) File "/home/sijaewoo/tools/xTea/xtea/x_sites.py", line 49, in load_in_qualified_sites_from_xTEA_output is_lth=int(fields[-1]) ValueError: invalid literal for int() with base 10: '867.0'
I change ' is_lth=int(fields[-1])' to ' is_lth=int(float(fields[-1]))'.
Second error was in "x_mutation.py".
"pysam/libcalignmentfile.pyx", line 990, in pysam.libcalignmentfile.AlignmentFile._open ValueError: file has no sequences defined (mode='rb') - is it SAM/BAM format? Consider opening with check_sq=False
So, I changed the code like this.
165 bam_in = pysam.AlignmentFile(sf_algnmt, 'rb', reference_filename=sf_ref, check_sq=False)
After that, I ran the xtea HERV again. But it seems it's not work because the final file is internal_snp.vcf.gz.
If you know the solution, please let me know.
Thank you,
Sijae
The text was updated successfully, but these errors were encountered: