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

Move assemblies back to Galaxy #8

Open
madisonkeene opened this issue Oct 11, 2016 · 6 comments
Open

Move assemblies back to Galaxy #8

madisonkeene opened this issue Oct 11, 2016 · 6 comments
Assignees
Milestone

Comments

@madisonkeene
Copy link

How to get assemblies (.fasta files) from SMRT portal back to Galaxy to view (e.g. in JBrowse) without going via a local computer? (Or go via GenomeSpace?) - Data libraries via the API. Madi knows how to do it.

@madisonkeene madisonkeene added this to the SMRT Portal milestone Oct 11, 2016
@madisonkeene madisonkeene self-assigned this Oct 11, 2016
@madisonkeene
Copy link
Author

@AnnaSyme @Slugger70 do either of you happen to know where these .fasta files end up living (like a directory)? Or have a server that I can check out to see where they are :) Then I can whip up a script to do this

@Slugger70
Copy link
Contributor

There's a link to the file in the smrt portal interface.. http://abrpi.genome.edu.au/smrtportal/api/jobs/16449/contents/data/polished_assembly.fasta.gz is the link which would translate to: /mnt/gvl/apps/smrtanalysis/userdata/jobs/016/016449/data/polished_assembly.fasta.gz on the actual machine.
So we need a job number as an input then search the appropriate location for a polished_assembly.fasta.gz file and rename it in the data library

@madisonkeene
Copy link
Author

Hmmmm OK... do we know where the 016 part of that path comes from?

@Slugger70
Copy link
Contributor

Yes. Its the first 3 digits of the job number.. It's so there aren't too many directories in the jobs folder.

@madisonkeene
Copy link
Author

If I generalize the data library script you'll be able to use it in this situation @Slugger70 - two birds one stone.

@Slugger70
Copy link
Contributor

Yes indeed! That was one of the reasons I was thinking about it..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants