Skip to content

Commit

Permalink
Merge pull request #2 from adamnovak/master
Browse files Browse the repository at this point in the history
Making it easier for people to know they need Entrez Direct.
  • Loading branch information
nouyang-curoverse committed May 5, 2015
2 parents f99c57d + 97fc388 commit 8f9c580
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ The FASTA files are in the `FASTA` directory and total ~8 MB. They are named `Ge
KIR
(17 files)
SMA-6606.fa
BRCA2-675.fa
BRCA1-672.fa
BRCA2-675.fa
BRCA1-672.fa

**Preview the collection contents**

Expand Down Expand Up @@ -54,6 +54,8 @@ In short:
$ sh ./geneID_to_refseq_regions.sh ids.csv


Note that the [Entrez Direct](http://www.ncbi.nlm.nih.gov/books/NBK179288/) tools must be available on your PATH.

This describes the process I used to create these FASTA files.
First, compile a list of GeneIDs for each region. I did this by hand in a google doc and the results are at in this repository: `ids.csv`.

Expand Down
4 changes: 4 additions & 0 deletions geneID_to_refseq_regions.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash

# Die on errors
set -e

GENEIDFILE=$1
NUMLINES=$(wc -l $GENEIDFILE | cut -d ' ' -f1)
echo $NUMLINES
Expand Down

0 comments on commit 8f9c580

Please sign in to comment.