Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Download AppResults files at once

42 views
Skip to first unread message

Mariko T

unread,
Aug 16, 2022, 11:19:07 AM8/16/22
to basespace-developers
Hi all,

I ran 12 samples on MiSeq and performed the TruSeq Amplicon analysis on BaseSpace.

I'd like to download all the data under this folder using "bs" command in CLI.
~/BaseSpace/Projects/(my project)/AppResults/(sample1-12)/Files/ 

Specifically, I'd like to download *.bam *.bai *.gz data. 

What commands should I use?

I tried this command, but those data were not included.
".\bs run download /id (my project ID) /o ./Rundata

Thank you!
Mariko

José Ferrão

unread,
Aug 16, 2022, 11:53:38 AM8/16/22
to basespace-developers
Hi, Mariko,

Please confirm exactly where the files are located. If they are in the project folder, maybe you can try:

bs project download --name "name_of_the_project" -o "output_dir"

and you can use additional options to select the files by extension, with --exclude and --include, e.g.:

bs project download --name "name_of_the_project" -o "output_dir" --exclude '*' --include '*.bam' --include '*.bai' --include '*.gz'

This command can also be useful:

bs list runs


Regards,

José


--
You received this message because you are subscribed to the Google Groups "basespace-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to basespace-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/basespace-developers/9551ee81-d950-495f-9cd8-7a0ec66917c7n%40googlegroups.com.


--
José Ferrão

Mariko T

unread,
Aug 16, 2022, 3:16:35 PM8/16/22
to basespace-developers
Hi  José,

Thank you for your response! It's really helpful.

Mariko

Patricia Oliveira

unread,
Oct 14, 2022, 6:12:44 AM10/14/22
to basespace-developers
Hi!
Can you also download only specific files from an analysis within a project?
Cheers
Pat
Reply all
Reply to author
Forward
0 new messages