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

Issue with file path error? #22

Open
joseph-yclam opened this issue Nov 11, 2021 · 3 comments
Open

Issue with file path error? #22

joseph-yclam opened this issue Nov 11, 2021 · 3 comments

Comments

@joseph-yclam
Copy link

Hi there,

Is there a way to fix the error where the input file for the sample does not exist?

python star_caller.py --manifest test_filepath --genome 19 --prefix cyr --outDir test_output
WARNING:root:Input file for sample NA23275.bam does not exist.
INFO:root:Writing to json at 2021-11-08 00:30:38.127413
INFO:root:Writing to tsv at 2021-11-08 00:30:38.127615

The test_filepath txt file contains exactly the absolute filepath to the NA23275.bam file. It does not work either for HG00611.bam within the test_data folder either. I have also tried with other bam files that have worked for other PGx programs but am unsure why Cyrius is giving this issue?

@xiao-chen-xc
Copy link
Contributor

The bams in the test_data folder are not WGS bams, so Cyrius won't work if you run it from the command line. Instead the test bams are used for unit testing during development.

Please use a real WGS bam in the manifest file when you run Cyrius from the command line. If that still doesn't work, would you mind showing me one or two lines from your manifest file (the test_filepath txt file)?

@joseph-yclam
Copy link
Author

I see, thank you so much! Yes, here is the follow txt file:
/CIM_output/CIM005.bam

This file works for other PGx programs but does not for Cyrius? Should it have quotations?

@xiao-chen-xc
Copy link
Contributor

I'm wondering if the path is a relative path, not an absolute path. An absolute path starts from the root directory. If you ls /CIM_output/CIM005.bam, would it work from anywhere outside your current directory? If not, the absolute path should be the output of pwd plus /CIM_output/CIM005.bam.

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