We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
jbrowse add-assembly modifies a given absolute path to a relative path, which is wrong if --target= is used.
jbrowse add-assembly
--target=
mkdir target echo "{}" > target/config.json touch /tmp/my.fa.gz npx jbrowse add-assembly -f --target=target --type=indexedFasta --load=symlink /tmp/my.fa.gz ls -1 target/ # config.json # my.fa.gz@ ⇒ ../../../../tmp/my.fa.gz # my.fa.gz.fai@ ⇒ ../../../../tmp/my.fa.gz.fai
Symlinks are calculated for $PWD of command execution, not for the files in target/.
$PWD
target/
Expected behavior
jbrowse add-track
Screenshots
The command lines above should explain.
Version:
@jbrowse/cli/1.5.9 darwin-x64 node-v16.13.2
Additional context
Thank you for your great software and hard work.
The text was updated successfully, but these errors were encountered:
thanks for pointing this out, we do indeed convert some things to relative paths and so this is likely a bug for symlink handling.
possible fix here #2686
Sorry, something went wrong.
Thank you for the quick response! And sorry I forgot to report that it matters when --load=inPlace as well.
--load=inPlace
good catch, thanks. I believe inPlace should be fixed now too, released as @jbrowse/cli 1.6.4
Successfully merging a pull request may close this issue.
jbrowse add-assembly
modifies a given absolute path to a relative path, which is wrong if--target=
is used.Symlinks are calculated for
$PWD
of command execution, not for the files intarget/
.Expected behavior
jbrowse add-track
works as expected because it keeps given absolute paths unchanged.Screenshots
The command lines above should explain.
Version:
@jbrowse/cli/1.5.9 darwin-x64 node-v16.13.2
Additional context
Thank you for your great software and hard work.
The text was updated successfully, but these errors were encountered: