AttachFile

From Array Suite Wiki

(Difference between revisions)
Jump to: navigation, search
Line 8: Line 8:
 
[[End]];
 
[[End]];
  
No need to specify project for this module.  Uses the currently opened project.
+
No need to specify project for this module.  Uses the currently opened project.  
 +
 
 +
 
 +
 
 +
===Example===
 +
 
 +
To script the entire process of attaching files to a server project, the following calls would be made:
 +
 
 +
# [[ConnectServer]]
 +
# [[OpenProject]]
 +
# [[AttachFile]]
 +
# [[SaveProject]]
 +
# [[CloseProject]]
 +
 
 +
such as
 +
 
 +
Begin ConnectServer;
 +
Server "tcp://192.168.3.123:9065" /User=joseph /Password=MySecretPasssword;
 +
End;
 +
 +
Begin OpenProject;
 +
ServerProject boop4;
 +
End;
 +
 +
Begin AttachFile;
 +
Files
 +
"
 +
/Users/joseph/GSE85241_scRNA/SRX2003934_2_filterReads.filter.CBCount.txt
 +
/Users/joseph/GSE85241_scRNA/SRX2003935_2_filterReads.filter.CBCount.txt
 +
/Users/joseph/GSE85241_scRNA/SRX2003936_2_filterReads.filter.CBCount.txt
 +
";
 +
End;
 +
 
 +
Begin SaveProject;
 +
ServerProject boop4;
 +
Options /Distributed=True;
 +
End;
 +
 +
Begin CloseProject;
 +
ServerProject boop4;
 +
End;

Revision as of 18:25, 15 November 2018

Begin AttachFile;

Files

"Name of files";

End;

No need to specify project for this module. Uses the currently opened project.


Example

To script the entire process of attaching files to a server project, the following calls would be made:

  1. ConnectServer
  2. OpenProject
  3. AttachFile
  4. SaveProject
  5. CloseProject

such as

Begin ConnectServer;
Server "tcp://192.168.3.123:9065" /User=joseph /Password=MySecretPasssword;
End;

Begin OpenProject;
ServerProject boop4;
End; 

Begin AttachFile;
Files
"
/Users/joseph/GSE85241_scRNA/SRX2003934_2_filterReads.filter.CBCount.txt
/Users/joseph/GSE85241_scRNA/SRX2003935_2_filterReads.filter.CBCount.txt
/Users/joseph/GSE85241_scRNA/SRX2003936_2_filterReads.filter.CBCount.txt
";
End; 

Begin SaveProject; ServerProject boop4; Options /Distributed=True; End;

Begin CloseProject;
ServerProject boop4;
End;