Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4210579 commit 6588892Copy full SHA for 6588892
11_mprt/fetch_fasta.sh
@@ -11,9 +11,10 @@ OUT_DIR="fasta"
11
12
while read -r PROT_ID; do
13
echo "$PROT_ID"
14
- URL="https://www.uniprot.org/uniprot/${PROT_ID}"
+ URL="http://www.uniprot.org/uniprot/${PROT_ID}.fasta"
15
+ echo $URL
16
OUT_FILE="$OUT_DIR/${PROT_ID}.fasta"
- wget -q -o "$OUT_FILE" "$URL"
17
+ wget -q -O "$OUT_FILE" "$URL"
18
done < $1
19
20
echo "Done, see output in \"$OUT_DIR\"."
0 commit comments