question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

xpore v2.0 dataprep ERROR

See original GitHub issue

Hi developer, I’m trying to using the practice demo data downloaded from https://zenodo.org/record/5103099/files/demo.tar.gz, and I have successfully installed the latest version of xpore version 2.0. When I came to the step of dataprep, I kept getting the same ERROR and could not proceed, it seemed that something wrong happened to the index.

My working directory: ~/bioinfo/xpore_practice/demo/data/HEK293T-WT-rep1

The running command:

xpore dataprep \
--eventalign nanopolish/eventalign.txt \
--gtf_path_or_url demo.gtf \
--transcript_fasta_paths_or_urls demo.fa \
--out_dir dataprep \
--genome

And then came this ERROR: /home/huangkx/miniconda3/lib/python3.9/site-packages/pandas/core/frame.py:3607: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy self._set_item(key, value) /home/huangkx/miniconda3/lib/python3.9/site-packages/xpore/scripts/dataprep.py:21: PerformanceWarning: indexing past lexsort depth may impact performance. pos_end += eventalign_result.loc[index][‘line_length’].sum() Traceback (most recent call last): File “/home/huangkx/miniconda3/bin/xpore”, line 33, in <module> sys.exit(load_entry_point(‘xpore==2.0’, ‘console_scripts’, ‘xpore’)()) File “/home/huangkx/miniconda3/lib/python3.9/site-packages/xpore/scripts/xpore.py”, line 67, in main options.func(options) File “/home/huangkx/miniconda3/lib/python3.9/site-packages/xpore/scripts/dataprep.py”, line 688, in dataprep merge_transcript_id_version = check_gene_tx_id_version(gtf_path_or_url) File “/home/huangkx/miniconda3/lib/python3.9/site-packages/xpore/scripts/dataprep.py”, line 635, in check_gene_tx_id_version if ln[2] == “transcript” or ln[2] == “exon”: IndexError: list index out of range

It would be grateful if you could give me some advice on solving this problem. Thanks for developing this nice tool.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
ploy-npcommented, Aug 5, 2021

Hi @DrDaedalusWHU,

I have updated the demo.tar.gz file already. Could you please try again? Note that the download link is changed to https://zenodo.org/record/5162402/files/demo.tar.gz

1reaction
DrDaedalusWHUcommented, Jul 28, 2021

Thanks for your kind reply! I will try the newly uploaded demo files.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Release 2.0 Ploy N. Pratanwanich - xPore's documentation!
Run xpore dataprep -h or visit our Command line arguments to explore the full usage description. 2. Prepare a .yml configuration file.
Read more >
Run SQL update statement after dataprep job started from ...
I need to run a SQL update statement on BigQuery immediately after the Dataprep job has finished. Not sure how I can get...
Read more >
Zoho DataPrep Community
Hi, I am trying to export a prepared data from DataPrep to Zoho Analytics, but it won't export and throwing an "unexpected error"...
Read more >
How to resolve 'Access Denied - Trifacta Community
I have a Dataprep flow which has been working, but recently has started ... It can report 1 or 2 of the above...
Read more >
Digital: Calculation of 3-Phase S Circuits by Method | PDF | Matrix ...
LINE END FAULT of these changes are included by modi- 2621.51 536.8 1430.9 .0 653.8 * *2753 VOLTS AT BUS LINE OPEN AT...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found