-
Notifications
You must be signed in to change notification settings - Fork 11
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
KeyError type erro #26
Comments
Thanks for reporting this issue. The current information is not sufficient for me to figure out what's going on. Could you send the SV detection results ( Shunhua |
Hi @shunhuahan @unavailable-2374 recently I am using TELR and it's giving the same error. I have downloaded telr using mamba.
Warning...unknown stuff < Building general libraries in: /home/ug1985/.conda/envs/TELR/share/RepeatMasker/Libraries/dc20170127/general |
hello
I'm having some problems when running TELR.
The logs are as follows.
"""
[M::bam2fq_mainloop] discarded 0 singletons
[M::bam2fq_mainloop] processed 2023563 reads
[bam_sort_core] merging from 0 files and 128 in-memory blocks...
[W::vcf_parse] FILTER 'STRANDBIAS' is not defined in the header
Warning...unknown stuff <
Warning...unknown stuff <
Traceback (most recent call last):
File "/public/home/tools/miniconda3/envs/TELR/bin/telr", line 8, in
sys.exit(main())
File "/public/home/tools/miniconda3/envs/TELR/lib/python3.6/site-packages/telr/telr.py", line 129, in main
args.thread,
File "/public/home/tools/miniconda3/envs/TELR/lib/python3.6/site-packages/telr/TELR_te.py", line 596, in get_af
vcf_parsed, out, sample_name, bam, raw_reads, telr_reads_dir, read_type="all"
File "/public/home/tools/miniconda3/envs/TELR/lib/python3.6/site-packages/telr/TELR_assembly.py", line 429, in prep_assembly_inputs
extract_reads(subset_fa, read_ids, subset_fa_reorder)
File "/public/home/tools/miniconda3/envs/TELR/lib/python3.6/site-packages/telr/TELR_assembly.py", line 469, in extract_reads
output_handle.write(record_dict.get_raw(entry))
File "/public/home/caoshuo/tools/miniconda3/envs/TELR/lib/python3.6/site-packages/Bio/File.py", line 450, in get_raw
return self._proxy.get_raw(self._offsets[key])
KeyError: 'm64252e_220613_012723/92670297/ccs'
"""
then I grep the id
"""
[login04 pan_TE]$ grep "92670297" fq/mgx.ccs.fq
@m64252e_220613_012723/92670297/ccs
"""
this is the TELR.log
"
12/16/2022 11:37:23: INFO: CMD: /public/home/tools/miniconda3/envs/TELR/bin/telr -i bam/mgx.ccs_sort.bam -o MGX -r /public/home/raw_data/genome/PN.fa -l /public/home/project/annotation/TE/vitis.TElib.novel.fa -t 128
12/16/2022 11:37:23: INFO: Parsing input files...
12/16/2022 11:37:23: INFO: BAM file is provided, skip alignment step
12/16/2022 11:37:23: INFO: Converting input BAM file to fasta...
12/16/2022 11:55:58: INFO: Sort and index BAM...
12/16/2022 12:01:23: INFO: Detecting SVs from BAM file...
12/16/2022 12:52:58: INFO: SV detection finished in 51 minutes 34 seconds
12/16/2022 12:52:59: INFO: Parse structural variant VCF...
12/16/2022 13:07:07: INFO: Perform local assembly of non-reference TE loci...
12/16/2022 13:33:16: INFO: Local assembly finished in 23 minutes 28 seconds
12/16/2022 13:33:16: INFO: Annotate contigs...
12/16/2022 15:30:56: INFO: Estimating allele frequency...
"
Please let me know if there is anything else I can offer.
thanks.
The text was updated successfully, but these errors were encountered: