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

Alignment Metadata script #3

Open
davidonlaptop opened this issue Oct 20, 2015 · 0 comments
Open

Alignment Metadata script #3

davidonlaptop opened this issue Oct 20, 2015 · 0 comments

Comments

@davidonlaptop
Copy link
Member

Write a script that downloads, clean, and normalize the metadata of all the alignment in the FTP (e.g. alignment.index).

Script input parameters:

  • indexURL (e.g. ftp://ftp-trace.ncbi.nih.gov/1000genomes/ftp/alignment.index)

Script output (TSV Format):

Particular behavior

  • The script should store locally on disk the original alignment.index. The local file's modified date should match the FTP date (for debugging).
  • If the alignment.index has not changed since last download (file size and modified date is the same, then the script should stop executing gracefully (nothing to do).

Example

Example of how this script could be called:

./alignment-metadata.sh ftp://ftp-trace.ncbi.nih.gov/1000genomes/ftp/alignment.index   >  alignments.csv 
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