-
Notifications
You must be signed in to change notification settings - Fork 10
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 while running ss3_isoform.py #5
Comments
Hi, it looks like something is wrong in BAM files. |
Hi Angela, |
@kwglam Hi, is this issue solved? |
Yes, this issue has been solved. Thanks! |
Hi @PingChen-Angela! Thanks for maintaining such a useful package! Just following on from this thread regarding the inputs of Would Thanks in advance for clarifying. Best regards, |
Hi Hani, The Best, |
I see, thanks Christoph for the clarification! |
Hi cziegenhain, The above exception was the direct cause of the following exception: Traceback (most recent call last): and my code is: so, what's wrong? Best, |
Hi Kwglam, How did you solve it? |
Hi xucaoling, I also have the same issue. Do you solve the issue? Best, |
Hi shinichiro03, have you solved the issue? |
@lamyankin, @xucaoling, and @Shinichiro03, |
After fixing the
|
Hi Angela,
I tried to do the isoform reconstruction by running your ss3_isoform.py script. However, the program halted with the following error messages. Would you please kindly advise what the potential problem is? Thanks!!
Preprocessing on input BAM ...
[bam_sort_core] merging from 104 files and 8 in-memory blocks...
[main_samview] fail to read the header from "/home/xxx/projects/Smart-seq3/ss3iso_210629/hsa/ss3iso_210629/preprocess/210624_Smartseq3.filtered.Aligned.GeneTagged.UBcorrected.sorted.bam".
[main_samview] fail to read the header from "/home/xxx/projects/Smart-seq3/ss3iso_210629/hsa/ss3iso_210629/preprocess/210624_Smartseq3.filtered.Aligned.GeneTagged.UBcorrected.sorted.bam".
[main_samview] fail to read the header from "-".
samtools index: "/home/xxx/projects/Smart-seq3/ss3iso_210629/hsa/ss3iso_210629/preprocess/210624_Smartseq3.filtered.Aligned.GeneTagged.UBcorrected.sorted.bam" is in a format that cannot be usefully indexed
samtools index: "/home/xxx/projects/Smart-seq3/ss3iso_210629/hsa/ss3iso_210629/preprocess/210624_Smartseq3.filtered.Aligned.GeneTagged.UBcorrected.sorted.bam" is in a format that cannot be usefully indexed
Collect informative reads per gene...
samtools index: "/home/xxx/projects/Smart-seq3/ss3iso_210629/hsa/ss3iso_210629/expression_ensembl/ex_210624_Smartseq3.filtered.Aligned.GeneTagged.UBcorrected.sorted.bam" is in a format that cannot be usefully indexed
samtools index: "/home/xxx/projects/Smart-seq3/ss3iso_210629/hsa/ss3iso_210629/expression_ensembl/ex_210624_Smartseq3.filtered.Aligned.GeneTagged.UBcorrected.sorted.bam" is in a format that cannot be usefully indexed
...for genes on 1
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/xxx/anaconda3/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/home/xxx/anaconda3/lib/python3.8/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/home/xxx/projects/Smart-seq3/ss3iso/Smart-seq3/ss3iso/pyModule/informative_reads.py", line 479, in _get_reads
report_gene = gobj.get_aligned_reads(n_read_limit, passed_cells)
File "/home/xxx/projects/Smart-seq3/ss3iso/Smart-seq3/ss3iso/pyModule/informative_reads.py", line 84, in get_aligned_reads
samfile = pysam.AlignmentFile(self.in_bam_uniq, "rc")
File "pysam/libcalignmentfile.pyx", line 742, in pysam.libcalignmentfile.AlignmentFile.cinit
File "pysam/libcalignmentfile.pyx", line 947, in pysam.libcalignmentfile.AlignmentFile._open
ValueError: file does not contain alignment data
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/xxx/projects/Smart-seq3/ss3iso/Smart-seq3/ss3iso/ss3_isoform.py", line 109, in
main()
File "/home/xxx/projects/Smart-seq3/ss3iso/Smart-seq3/ss3iso/ss3_isoform.py", line 99, in main
fetch_gene_reads(in_bam_uniq, in_bam_multi, conf_data, op.species, out_path)
File "/home/xxx/projects/Smart-seq3/ss3iso/Smart-seq3/ss3iso/pyModule/informative_reads.py", line 550, in fetch_gene_reads
report_genes = pool.map(func, genes, chunksize=1)
File "/home/xxx/anaconda3/lib/python3.8/multiprocessing/pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/home/xxx/anaconda3/lib/python3.8/multiprocessing/pool.py", line 771, in get
raise self._value
ValueError: file does not contain alignment data
The text was updated successfully, but these errors were encountered: