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

ROBUSTNESS: Protect against non-sense parsing of paths #43

Open
HenrikBengtsson opened this issue Jun 24, 2017 · 0 comments
Open

ROBUSTNESS: Protect against non-sense parsing of paths #43

HenrikBengtsson opened this issue Jun 24, 2017 · 0 comments

Comments

@HenrikBengtsson
Copy link
Owner

> bam <- BamDataSet$byPath('/lab/joe/LG3/exomes_recal/Patient300/', recursive=TRUE)

> bam
BamDataSet:
Name: ..
Tags: 
Full name: ..
Subpath: ../../lab/joe/LG3/exomes_recal/Patient300
Number of files: 1
Names: .. [1]
Path (to the first file): ../../../../lab/joe/LG3/exomes_recal/Patient300
Total file size: 13.53 GiB (14523869456 bytes)
Number of unique target sequence sets: 1

> getPath(bam)
[1] "../../../../lab/joe/LG3/exomes_recal/Patient300"
> getFullName(bam)
[1] ".."
> getName(bam)
[1] ".."
> getOrganism(bam)
[1] ".."

(This is with aroma.seq 0.9.0 and R.filesets 2.11.0).

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

1 participant