勿看褂痰,未果
sample1a
ftp://ftp.ebi.ac.uk/pub/databases/microarray/data/experiment/MTAB/E-MTAB-8410/scrEXT001_hg19_S9_L008_R1_001.fastq.gz
ftp://ftp.ebi.ac.uk/pub/databases/microarray/data/experiment/MTAB/E-MTAB-8410/scrEXT001_hg19_S9_L008_R2_001.fastq.gz
ftp://ftp.ebi.ac.uk/pub/databases/microarray/data/experiment/MTAB/E-MTAB-8410/scrEXT001_hg19_S9_L008_I1_001.fastq.gz
sample1b
ftp://ftp.ebi.ac.uk/pub/databases/microarray/data/experiment/MTAB/E-MTAB-8410/scrEXT002_hg19_S8_L007_R1_001.fastq.gz
#https://www.ebi.ac.uk/arrayexpress/files/E-MTAB-8410/scrEXT003_hg19_S15_L006_R2_001.fastq.gz
#ftp://ftp.ebi.ac.uk/pub/databases/microarray/data/experiment/MTAB/E-MTAB-8410/scrEXT001_hg19_S9_L008_R1_001.fastq.gz
ascp -v -i ~/.aspera/connect/etc/asperaweb_id_dsa.openssh -k 1 -T -l 200m anonftp@ftp-private.ncbi.nlm.nih.gov:/sra/sra-instant/reads/ByRun/sra/SRR/SRR949/SRR949627/SRR949627.sra ~/biostar/aspera/
ascp -QT -l 300m -P33001 -i ~/.aspera/connect/etc/asperaweb_id_dsa.openssh era-fasp@fasp.sra.ebi.ac.uk:/pub/databases/microarray/data/experiment/MTAB/E-MTAB-8410/scrEXT001_hg19_S9_L008_R1_001.fastq.gz ~/sra/
vim ascp.commands
#!/bin/bash
for i in {1..6}
do
a0='/home/docker/.aspera/connect/bin/ascp'
a1='ascp -QT -l 300m -P33001 -i ~/.aspera/connect/etc/asperaweb_id_dsa.openssh era-fasp@fasp.sra.ebi.ac.uk:/pub/databases/microarray/data/experiment/MTAB/E-MTAB-8410/scrEXT001_hg19_S9_L008_R1_001.fastq.gz'
a2='_S15_L00'$i
a3='_R1_001.fastq.gz .'
a4='_R2_001.fastq.gz .'
a5='_I1_001.fastq.gz .'
echo $a0$a1$a2$a3
echo $a0$a1$a2$a4
echo $a0$a1$a2$a5
done >> ascp.command
#ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR180/009/SRR1805929/SRR1805929_1.fastq.gz
#ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR180/009/SRR1805929/SRR1805929_2.fastq.gz
#ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR180/000/SRR1805930/SRR1805930_1.fastq.gz
vim ascp.command
#!/bin/bash
for i in {29..31}
do
a0='/home/docker/.aspera/connect/bin/ascp'
a1='ascp -QT -l 300m -P33001 -i ~/.aspera/connect/etc/asperaweb_id_dsa.openssh era-fasp@fasp.sra.ebi.ac.uk:/vol1/fastq/SRR180/00'
a2=$(($i % 10))
a3='/SRR18059'$i
a4='_1.fastq.gz .'
a5='_2.fastq.gz .'
echo $a0$a1$a2$a3$a3$a4
echo $a0$a1$a2$a3$a3$a5
done >> ascp.command