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

Easily create ReadsBySample #231

Open
necrolyte2 opened this issue Mar 31, 2016 · 1 comment
Open

Easily create ReadsBySample #231

necrolyte2 opened this issue Mar 31, 2016 · 1 comment

Comments

@necrolyte2
Copy link
Member

https://gist.github.com/necrolyte2/fbd9188edbf58ee57a60e36771c75d78

It has become apparent that this is needed

Dumping this here quickly and we can integrate later(if possible make some simple tests and put in new release coming up)

The linked gist just takes a MiSeq run path and finds *.fastq.gz and then extracts sample name from each of the found files by splitting on _ and taking the first element of the list.
Then creates a directory with that name and symlinks or copys the fastq.gz into that directory

@necrolyte2
Copy link
Member Author

Also, path.py is showing to be really awesome. That script only took me like 10 minutes to make using it. Would have been a lot longer without path.py

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

1 participant