Skip to content
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

plostr error #125

Closed
zhangxn-flower opened this issue Mar 20, 2022 · 2 comments
Closed

plostr error #125

zhangxn-flower opened this issue Mar 20, 2022 · 2 comments

Comments

@zhangxn-flower
Copy link

hi, I'm running syri for analysis of genomes.
syri --version
1.5.4
python3 $PATH_TO_PLOTSR
usage: Plotting structural rearrangements between genomes [-h] [--sr SR] [--bp BP] --genomes GENOMES [--markers MARKERS] [--tracks TRACKS] [--chrord CHRORD] [--chrname CHRNAME] [-o O] [--itx] [--chr CHR] [--reg REG] [--rtr] [--nosyn] [--noinv] [--notr] [--nodup] [-s S] [--cfg CFG] [-R] [-f F] [-H H] [-W W] [-S S] [-d D] [-b {agg,cairo,pdf,pgf,ps,svg,template}] [-v] [--log {DEBUG,INFO,WARN}] [--version]

command line is like this :
python3 $PATH_TO_PLOTSR --sr syri.out --genomes genomes
cat genomes
/home A.chr.fa refgenome
/home B.chr.fa refgenome

but the error appear.
ImportError: Incomplete genomic information.
Expected format for the genome file:
path_to_genome1 genome1_id tags
path_to_genome2 genome2_id tags

Make sure that the columns are separated by tabs (and not spaces).
so, what should be the format of the input file --genomes
Could you please guide if there is any solution, how to fix theproblem?

Many thanks,
xn

@mnshgl0110
Copy link
Member

Hi Xn,
In the genomes.txt file, the first column needs to be the complete path to the .fa/.chrlen files whereas the second column should be genome-name. So, in this case, your genomes.txt file would look like:

/home/A.chr.fa refgenome
/home/B.chr.fa qrygenome

Also, make sure that the columns are separated by tab (and not spaces).

Best
Manish

P.S.: It is more helpful if the questions for a repo (here plotsr) is asked in that repo only as it allows future users facing the same issue to find the solution quickly.

@TZM9882
Copy link

TZM9882 commented Jun 23, 2023

hello Manih,

I am very new to this whole process but still trying my best using manuals and similar issues by previous users. Thanks to those unknown users.

I also got below the error for plotsr. I followed the instructions.
Am I still wrong somewhere?
Image 2 is how I prepared genomes.txt for 2 genomes (A is reference).
Please help me with this problem

Thanks,
Mg

Screenshot 2023-06-23 at 10 32 26

Screenshot 2023-06-23 at 10 35 04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants