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

run sailor with unprivileged installations of singularity #7

Open
yywang-hzau opened this issue Jul 27, 2021 · 7 comments
Open

run sailor with unprivileged installations of singularity #7

yywang-hzau opened this issue Jul 27, 2021 · 7 comments

Comments

@yywang-hzau
Copy link

I installed singularity with unprivileged installations, and download executable into an empty directory](https://s3-us-west-1.amazonaws.com/sailor-1.0.4/sailor-1.0.4). and then I marked downloaded programme as executable and tried to run sailor like these './sailor-1.0.4'. however, occurred some errors "ERROR: File "./sailor-1.0.4" is an ext3 format continer image.
ERROR: Only SIF and squashfs images can be extracted in unprivileged mode.
ERROR: Use singularity build to convert this image to a SIF file using a setuid install of Singularity.
FATAL: while extracting ./sailor-1.0.4: not a squashfs root filesystem"
I think it is related to the installation of singularity, so I run "singularity build sailor.sif sailor-1.0.4"
errors like these"INFO: Starting build...
ERROR: while unpacking ext3 image: while attaching image to loop device: permission denied
FATAL: While performing build: packer failed to pack: while attaching image to loop device: permission denied"
So I want to know whether sailor can be executed without root privilege.

@byee4
Copy link
Member

byee4 commented Jul 28, 2021

Sorry, this might be an older image where those options weren't available, but I believe you can convert to sif format if you run it locally (and have root privilages).

@yywang-hzau
Copy link
Author

Thank you for your reply, I have solve the problem successfully, and I have got some results. However, I found the reverse.strand result (T-C) cannot be complementary with the forward.strand result (A-G). For example, I caught a site 123456 on chromosome 1 (A-G) in forward.strand but it show 123459 on chromosome 1 (T-C) in reverse.strand. so I wonder to know the relationship between forward result (A-G) and reverse result (T-C).

@byee4
Copy link
Member

byee4 commented Aug 1, 2021

Sorry, I don't quite understand the question but the forward and reverse edits are based on the read orientation. So assuming a stranded library, looking at the bam file on the genome browser, you should see A>G edits being called in areas where most of the reads correspond to a negative strand gene.

@yywang-hzau
Copy link
Author

yywang-hzau commented Aug 2, 2021 via email

@byee4
Copy link
Member

byee4 commented Aug 2, 2021

Hi, yes if the reads are stranded then T>C edits on the opposite strand should look like A>G

@LIUXING-bio
Copy link

How to obtain .sif file, Thanks

@LIUXING-bio
Copy link

Thank you for your reply, I have solve the problem successfully, and I have got some results. However, I found the reverse.strand result (T-C) cannot be complementary with the forward.strand result (A-G). For example, I caught a site 123456 on chromosome 1 (A-G) in forward.strand but it show 123459 on chromosome 1 (T-C) in reverse.strand. so I wonder to know the relationship between forward result (A-G) and reverse result (T-C).

How to obtain .sif file, Thanks

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

3 participants