Closed shangguandong1996 closed 3 years ago
Thanks for this bug report! Just to be sure, this is version 0.16? We'll check to see if we can reproduce.
I am sorry I do not post the version:)
sgd@localhost ~
$ gimme
usage: gimme [-h] <subcommand> [options]
GimmeMotifs v0.16.0
positional arguments:
{motifs,scan,maelstrom,match,logo,cluster,background,threshold,location,diff,prediction,motif2factors}
motif2factors Generate a motif2factors file based on orthology for
your species of interest.
optional arguments:
-h, --help show this help message and exit
commands:
motifs identify enriched motifs (known and/or de novo)
scan scan for known motifs
maelstrom find differential motifs
match find motif matches in database
logo create sequence logo(s)
cluster cluster similar motifs
background create a background file
threshold calculate motif scan threshold
location motif location histograms
diff compare motif frequency and enrichment
between fasta files
motif2factors generate a motif database based on orthology for any
species
type `gimme <command> -h` for more details
Hi - I am also encountering the same error using a custom dataset (I actually had the same error trying with both peak category and peak coverage type of inputs):
2021-06-19 16:19:01,513 - INFO - Rank aggregation
2021-06-19 16:19:01,885 - INFO - Correlation
2021-06-19 16:19:02,304 - INFO - html report
Traceback (most recent call last):
File "/home/ferdi/miniconda3/envs/gimme/bin/gimme", line 11, in <module>
cli(sys.argv[1:])
File "/home/ferdi/miniconda3/envs/gimme/lib/python3.9/site-packages/gimmemotifs/cli.py", line 730, in cli
args.func(args)
File "/home/ferdi/miniconda3/envs/gimme/lib/python3.9/site-packages/gimmemotifs/commands/maelstrom.py", line 33, in maelstrom
run_maelstrom(
File "/home/ferdi/miniconda3/envs/gimme/lib/python3.9/site-packages/gimmemotifs/maelstrom.py", line 546, in run_maelstrom
maelstrom_html_report(outdir, os.path.join(outdir, "final.out.txt"), pfmfile)
File "/home/ferdi/miniconda3/envs/gimme/lib/python3.9/site-packages/gimmemotifs/report.py", line 868, in maelstrom_html_report
motif_to_img_series(df.index, pfmfile=pfmfile, outdir=outdir, subdir="logos"),
File "/home/ferdi/miniconda3/envs/gimme/lib/python3.9/site-packages/gimmemotifs/report.py", line 837, in motif_to_img_series
raise ValueError(f"Motif {motif} does not occur in motif database")
ValueError: Motif GM.5.0.C2H2_ZF.0171 does not occur in motif database
Thanks a lot!!
Thanks for reporting this @shangguandong1996 and @fmarletaz. This should now be fixed in the develop branch. Until 0.16.1 is released, you can run the following command in your conda environment to install the fix:
pip install git+https://github.com/vanheeringen-lab/gimmemotifs.git@develop
Thanks a lot, I could run the new version successfully!
Ferdi
On Mon, 21 Jun 2021 at 08:50, Simon van Heeringen @.***> wrote:
Thanks for reporting this @shangguandong1996 https://github.com/shangguandong1996 and @fmarletaz https://github.com/fmarletaz. This should now be fixed in the develop branch. Until 0.16.1 is released, you can run the following command in your conda environment to install the fix:
pip install @.***
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vanheeringen-lab/gimmemotifs/issues/192#issuecomment-864809912, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIMSXIXLV27Q4Y6TRYEFE3TT3VMPANCNFSM46QFCRAQ .
Thanks for reporting this @shangguandong1996 and @fmarletaz. This should now be fixed in the develop branch. Until 0.16.1 is released, you can run the following command in your conda environment to install the fix:
pip install git+https://github.com/vanheeringen-lab/gimmemotifs.git@develop
I am encountering the same error. How I can install the 0.16.1 version? I try it with conda, but it did not work for me.
Sorry for getting back to you so late @tzhu-bio Can you open a new issue with the details? We would need to see the exact error message you get and any other information that may help us to debug your issue.
Dear developer
I am running maelstrom using the test data
hg19.blood.most_variable.1k.txt
my hg19 genome is fromBest wishes
Guandong Shang