Skip to content

Copying existing samples to another project

Copying samples creates a new sample in a different project by making a hard-copy of all deliverables, metadata, and QC values of an existing sample. This is distinct from importing samples, which only uses the FASTQs of the original samples to re-run analysis in a different project.

Copying existing samples to another project

Copying is useful when you want to duplicate finished samples—including all their files and metadata—into another project with the same pipeline configuration and modifications. This is needed for downstream analysis, billing, or organizational purposes.

Note

Keep in mind that each copied sample is billed for storage, compute and network required to copy data and access it.

Requirements:

  • You must have permission to access both the source and destination projects.
  • The source and destination projects must have the same pipeline configuration and modifications.
  • Samples must not be archived and must be in succeeded or failed_qc state for at least 24 hours in the future.
  • All samples in a single copy operation must come from the same source project.
  • Your organization must have the copy samples feature enabled. If you wish to enable this feature contact support@gencove.com.

Copy samples by sample ID

Copy one or more samples from a source project to a destination project by specifying their sample IDs:

$ gencove projects copy-existing-samples <destination-project-id> --sample-ids <source-sample-id-1>,<source-sample-id-2>

Example:

$ gencove projects copy-existing-samples d9eaa54b-aaac-4b85-92b0-0b564be6d7db --sample-ids 59f5c1fd-cce0-4c4c-90e2-0b6c6c525d71,7edee497-12b5-4a1d-951f-34dc8dce1c1d

Copy all samples from another project

Copy all eligible samples from a source project to a destination project:

$ gencove projects copy-existing-samples <destination-project-id> --source-project-id <source-project-id>

Example:

$ gencove projects copy-existing-samples d9eaa54b-aaac-4b85-92b0-0b564be6d7db --source-project-id d8eb0bb5-29ee-44ed-b681-0fc05a557183

Note

We automatically batch large project-to-project copy requests into groups of 100 samples.

For details on importing samples (re-running analysis from FASTQs), see Importing existing samples to another project.