-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,19 @@ | ||
# tears | ||
Stream files to and from iRODS | ||
Stream files to and from iRODS. | ||
|
||
tears either reads from stdin and writes a file to iRODS or reads a file from iRODS and writes to stdout. Basic usage for writing is: | ||
|
||
file_making_program | tears /path/to/irods/file | ||
|
||
or for reading: | ||
|
||
tears -r /path/to/irods/file | file_receiving_program | ||
|
||
Two things to note. Firstly, tears will try to pick the best iRODS host to read or write from. This can cause authentication problems and can be switched off by using the -d option. Secondly, the iRODS file can be in the form of a URI (proposed [here](https://github.com/samtools/htslib/issues/229)). The URI is of the form: | ||
|
||
irods://[irodsUserName%23irodsZone@][irodsHost][:irodsPort]/collection_path/data_object | ||
|
||
|
||
|
||
|
||
|