Skip to content

Commit

Permalink
Merge pull request #156 from datacarpentry/use-backup-data
Browse files Browse the repository at this point in the history
add command to copy backup files
  • Loading branch information
ErinBecker authored Apr 11, 2019
2 parents 807ab1a + ecb5f01 commit f43e33c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions _episodes/02-quality-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,21 @@ curl -O ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR258/006/SRR2584866/SRR2584866_2.fa
~~~
{: .bash}

> ## Faster option
>
> If your workshop is short on time or the venue's internet connection is weak or unstable, learners can
> avoid needing to download the data and instead use the data files provided in the `.backup/` directory.
>
> ~~~
> cp ~/.backup/untrimmed_fastq/*fastq.gz .
> ~~~
> {: .bash}
>
> This command creates a copy of each of the files in the `.backup/untrimmed_fastq/` directory that end in `fastq.gz` and
> places the copies in the current working directory (signified by `.`).
{: .tip}
The data comes in a compressed format, which is why there is a `.gz` at the end of the file names. This makes it faster to transfer, and allows it to take up less space on our computer. Let's unzip one of the files so that we can look at the fastq format.
~~~
Expand Down

0 comments on commit f43e33c

Please sign in to comment.