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

how to point to fusion_annotator directory #4

Open
anoronh4 opened this issue Mar 16, 2023 · 2 comments
Open

how to point to fusion_annotator directory #4

anoronh4 opened this issue Mar 16, 2023 · 2 comments

Comments

@anoronh4
Copy link

I see that there is an option to use fusionannotator but no way to point to the fusionannotator directory i want to use. looks like i should copy ctat_genome_lib_build_dir to my reference directory but it seems like i can easily point to other reference files so i'm just wondering if i can do that with the CTAT files too.

@mike8115
Copy link
Member

Hi @anoronh4,

Currently, the path for the CTAT files are hardcoded in RUN_FusionAnnotator.sh.

genome_lib_dir=$(dirname $fusiontools)/reference_files/ctat_genome_lib_build_dir

There's a couple of ways to accomplish what you want. If you plan to stick with a single reference, the easiest solution would be to create a symlink that points to your CTAT files. If you need something more robust and don't mind modifying the code a bit, you could change genome_lib_dir in RUN_FusionAnnotator.sh to accept a positional parameter such as $4 and modify MetaFusion.sh to pass accept a new parameter and pass your specified path to RUN_FusionAnnotator.sh.

bash RUN_FusionAnnotator.sh $outdir $cluster $fusiontools

@anoronh4
Copy link
Author

thanks so much! if we can use a symlink that's a good workaround for us.

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

2 participants